aemarcoWebTools 8.4.4
dotnet add package aemarcoWebTools --version 8.4.4
NuGet\Install-Package aemarcoWebTools -Version 8.4.4
<PackageReference Include="aemarcoWebTools" Version="8.4.4" />
<PackageVersion Include="aemarcoWebTools" Version="8.4.4" />
<PackageReference Include="aemarcoWebTools" />
paket add aemarcoWebTools --version 8.4.4
#r "nuget: aemarcoWebTools, 8.4.4"
#addin nuget:?package=aemarcoWebTools&version=8.4.4
#tool nuget:?package=aemarcoWebTools&version=8.4.4
aemarcoWebTools
<a href=https://www.nuget.org/packages/aemarcoWebTools><img src="https://buildstats.info/nuget/aemarcoWebTools"></a>
Table of Contents
Authorization
Adds policies with given names, which ensure LAN access only.
services.AddLanIpAddressPolicy("lanOnly");
Adds a policy, which requires client_id with one of the client id´s
services.AddAllowedClientsPolicy("clientB", "clientB");
Policy documentation can be found at https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies
Great read around DefaultPolicy and FallbackPolicy https://scottsauber.com/2020/01/20/globally-require-authenticated-users-by-default-using-fallback-policies-in-asp-net-core
Read about Policy Conventions https://andrewlock.net/setting-global-authorization-policies-using-the-defaultpolicy-and-the-fallbackpolicy-in-aspnet-core-3
Filter
Add´s a filter, which only calls the action when the ModelState is valid
services.AddControllers(options =>
{
options.Filters.Add(new ValidationFilter());
});
Middleware
Adds a middleware, which moves an access_token provided as query parameter, to an Authorization heder for a Bearer.
app.UseBearerToHeaderMiddleware(); //move bearer from url to header before routing
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. |
-
net8.0-windows7.0
- aemarcoToolbox (>= 8.4.4)
- Serilog.AspNetCore (>= 8.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.4.4 | 52 | 5/3/2025 |
8.4.3 | 76 | 4/26/2025 |
8.4.2 | 74 | 4/25/2025 |
8.4.1 | 140 | 4/20/2025 |
8.3.2 | 152 | 4/20/2025 |
8.2.11 | 147 | 4/20/2025 |
8.2.10 | 164 | 4/13/2025 |
8.2.9 | 144 | 4/6/2025 |
8.2.8 | 127 | 3/30/2025 |
8.2.7 | 257 | 3/23/2025 |
8.2.6 | 125 | 3/16/2025 |
8.2.5 | 87 | 3/2/2025 |
8.2.4 | 90 | 1/26/2025 |
8.2.3 | 73 | 1/9/2025 |
8.2.2 | 106 | 1/9/2025 |
8.1.4 | 113 | 1/1/2025 |
8.1.3 | 101 | 12/31/2024 |
8.1.2 | 90 | 12/26/2024 |
8.0.8 | 87 | 12/23/2024 |
8.0.7 | 87 | 12/23/2024 |
8.0.6 | 95 | 12/22/2024 |
8.0.5 | 90 | 12/21/2024 |
8.0.4 | 97 | 11/17/2024 |
8.0.3 | 143 | 11/17/2024 |
5.0.21 | 94 | 11/16/2024 |
5.0.20 | 96 | 10/20/2024 |
5.0.19 | 93 | 10/19/2024 |
5.0.18 | 111 | 10/19/2024 |
5.0.17 | 98 | 10/13/2024 |
5.0.16 | 99 | 10/12/2024 |
5.0.6 | 90 | 10/6/2024 |
5.0.5 | 99 | 10/2/2024 |
5.0.4 | 137 | 10/1/2024 |
5.0.3 | 100 | 9/22/2024 |
5.0.2 | 189 | 9/16/2024 |
4.0.9 | 115 | 9/15/2024 |
4.0.8 | 95 | 9/8/2024 |
4.0.7 | 86 | 9/8/2024 |
4.0.6 | 101 | 9/8/2024 |
4.0.5 | 81 | 9/8/2024 |
4.0.2 | 114 | 9/8/2024 |
3.1.27 | 101 | 9/8/2024 |
3.1.26 | 114 | 9/7/2024 |
3.1.25 | 110 | 9/7/2024 |
3.1.24 | 117 | 9/7/2024 |
3.1.23 | 102 | 9/1/2024 |
3.1.22 | 112 | 9/1/2024 |
3.1.21 | 135 | 6/16/2024 |
3.1.20 | 109 | 5/31/2024 |
3.1.19 | 123 | 5/20/2024 |
3.1.18 | 99 | 5/10/2024 |
3.1.17 | 134 | 4/12/2024 |
3.1.16 | 123 | 4/4/2024 |
3.1.15 | 118 | 3/22/2024 |
3.1.11 | 117 | 3/19/2024 |
3.1.10 | 126 | 2/16/2024 |
3.1.7 | 136 | 2/11/2024 |
3.1.6 | 126 | 2/11/2024 |
3.1.5 | 125 | 2/11/2024 |
3.1.4 | 128 | 2/11/2024 |
3.0.18 | 182 | 1/29/2024 |
3.0.17 | 108 | 1/29/2024 |
3.0.16 | 111 | 1/27/2024 |
3.0.15 | 87 | 1/27/2024 |
3.0.8 | 111 | 1/27/2024 |
3.0.7 | 150 | 1/13/2024 |
2.0.18 | 156 | 1/4/2024 |
2.0.17 | 144 | 1/1/2024 |
2.0.16 | 133 | 12/27/2023 |
2.0.15 | 121 | 12/26/2023 |
2.0.14 | 141 | 12/26/2023 |
2.0.13 | 130 | 12/25/2023 |
2.0.11 | 134 | 12/23/2023 |
2.0.10 | 138 | 12/16/2023 |
2.0.9 | 128 | 12/15/2023 |
2.0.8 | 138 | 12/14/2023 |
2.0.7 | 124 | 12/13/2023 |
2.0.5 | 126 | 12/11/2023 |
2.0.4 | 125 | 12/11/2023 |
2.0.2 | 201 | 12/10/2023 |
1.9.2 | 130 | 12/10/2023 |
1.8.4 | 139 | 12/10/2023 |
1.8.3 | 139 | 12/9/2023 |
1.8.2 | 129 | 12/9/2023 |
1.1.28 | 155 | 11/27/2023 |
1.1.27 | 138 | 11/26/2023 |
1.1.26 | 141 | 11/18/2023 |
1.1.25 | 134 | 11/17/2023 |
1.1.24 | 152 | 10/30/2023 |
1.1.23 | 135 | 10/29/2023 |
1.1.22 | 149 | 10/22/2023 |
1.1.21 | 131 | 10/17/2023 |
1.1.20 | 163 | 9/16/2023 |
1.1.19 | 180 | 8/27/2023 |
1.1.18 | 150 | 7/31/2023 |
1.1.17 | 177 | 7/16/2023 |
1.1.16 | 172 | 7/9/2023 |
1.1.15 | 168 | 7/8/2023 |
1.1.14 | 165 | 7/5/2023 |
1.1.13 | 176 | 6/29/2023 |
1.1.12 | 195 | 5/1/2023 |
1.1.11 | 283 | 3/5/2023 |
1.1.10 | 277 | 3/3/2023 |
1.1.9 | 275 | 2/28/2023 |
1.1.7 | 277 | 2/26/2023 |
1.1.6 | 287 | 2/26/2023 |
1.1.5 | 273 | 2/26/2023 |
1.1.3 | 280 | 2/25/2023 |
1.1.0 | 280 | 2/25/2023 |
1.0.108 | 315 | 1/23/2023 |
1.0.107 | 336 | 1/13/2023 |
1.0.106 | 338 | 1/13/2023 |
1.0.105 | 336 | 1/12/2023 |
1.0.104 | 346 | 1/11/2023 |
1.0.103 | 354 | 1/7/2023 |
1.0.102 | 333 | 1/6/2023 |
1.0.101 | 334 | 1/6/2023 |
1.0.100 | 338 | 1/2/2023 |
1.0.99 | 328 | 12/30/2022 |
1.0.98 | 343 | 12/28/2022 |
1.0.97 | 326 | 12/28/2022 |
1.0.95 | 339 | 12/3/2022 |
1.0.94 | 364 | 11/24/2022 |
1.0.93 | 398 | 11/1/2022 |
1.0.92 | 421 | 10/30/2022 |
1.0.91 | 428 | 10/27/2022 |
1.0.90 | 428 | 10/26/2022 |
1.0.89 | 421 | 10/26/2022 |
1.0.88 | 442 | 10/23/2022 |
1.0.86 | 445 | 10/18/2022 |
1.0.85 | 421 | 10/18/2022 |
1.0.84 | 434 | 10/16/2022 |
1.0.83 | 433 | 10/15/2022 |
1.0.82 | 441 | 10/15/2022 |
1.0.81 | 441 | 10/10/2022 |
1.0.80 | 432 | 10/6/2022 |
1.0.79 | 425 | 10/6/2022 |
1.0.78 | 483 | 10/2/2022 |
1.0.77 | 503 | 9/27/2022 |
1.0.76 | 521 | 9/25/2022 |
1.0.75 | 521 | 9/23/2022 |
1.0.74 | 516 | 9/23/2022 |
1.0.73 | 499 | 9/10/2022 |
1.0.72 | 576 | 6/29/2022 |
1.0.71 | 558 | 5/29/2022 |
1.0.70 | 558 | 5/29/2022 |
1.0.69 | 556 | 5/28/2022 |
1.0.68 | 560 | 5/24/2022 |
1.0.66 | 591 | 5/1/2022 |
1.0.64 | 645 | 4/17/2022 |
1.0.63 | 607 | 4/15/2022 |
1.0.62 | 632 | 3/24/2022 |
1.0.61 | 621 | 3/20/2022 |
1.0.55 | 615 | 3/13/2022 |
1.0.54 | 614 | 3/11/2022 |
1.0.53 | 623 | 3/11/2022 |
1.0.52 | 622 | 3/11/2022 |
1.0.51 | 655 | 2/26/2022 |
1.0.50 | 852 | 2/9/2022 |
1.0.49 | 865 | 2/1/2022 |
1.0.48 | 872 | 1/25/2022 |
1.0.47 | 400 | 11/29/2021 |
1.0.46 | 364 | 11/27/2021 |
1.0.45 | 503 | 10/12/2021 |
1.0.44 | 455 | 8/23/2021 |
1.0.43 | 535 | 8/10/2021 |
1.0.42 | 408 | 7/21/2021 |
1.0.41 | 432 | 4/4/2021 |
1.0.40 | 431 | 4/4/2021 |
1.0.39 | 409 | 3/29/2021 |
1.0.38 | 496 | 3/27/2021 |
1.0.37 | 442 | 3/15/2021 |
1.0.36 | 479 | 3/14/2021 |