aemarcoWebTools 8.2.11
See the version list below for details.
dotnet add package aemarcoWebTools --version 8.2.11
NuGet\Install-Package aemarcoWebTools -Version 8.2.11
<PackageReference Include="aemarcoWebTools" Version="8.2.11" />
<PackageVersion Include="aemarcoWebTools" Version="8.2.11" />
<PackageReference Include="aemarcoWebTools" />
paket add aemarcoWebTools --version 8.2.11
#r "nuget: aemarcoWebTools, 8.2.11"
#:package aemarcoWebTools@8.2.11
#addin nuget:?package=aemarcoWebTools&version=8.2.11
#tool nuget:?package=aemarcoWebTools&version=8.2.11
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. net10.0-windows was computed. |
-
net8.0-windows7.0
- aemarcoToolbox (>= 8.2.11)
- 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 |
---|---|---|
9.0.37 | 156 | 9/14/2025 |
9.0.33 | 109 | 9/13/2025 |
9.0.31 | 106 | 9/13/2025 |
9.0.30 | 104 | 9/13/2025 |
9.0.6 | 104 | 9/13/2025 |
9.0.5 | 100 | 9/13/2025 |
9.0.4 | 106 | 9/13/2025 |
9.0.3 | 106 | 9/13/2025 |
8.4.13 | 130 | 9/11/2025 |
8.4.12 | 159 | 8/30/2025 |
8.4.11 | 216 | 8/6/2025 |
8.4.10 | 54 | 8/2/2025 |
8.4.9 | 38 | 8/1/2025 |
8.4.6 | 97 | 7/27/2025 |
8.4.5 | 139 | 6/20/2025 |
8.4.4 | 99 | 5/3/2025 |
8.4.3 | 103 | 4/26/2025 |
8.4.2 | 122 | 4/25/2025 |
8.4.1 | 166 | 4/20/2025 |
8.3.2 | 177 | 4/20/2025 |
8.2.11 | 176 | 4/20/2025 |
8.2.10 | 202 | 4/13/2025 |
8.2.9 | 169 | 4/6/2025 |
8.2.8 | 156 | 3/30/2025 |
8.2.7 | 280 | 3/23/2025 |
8.2.6 | 148 | 3/16/2025 |
8.2.5 | 122 | 3/2/2025 |
8.2.4 | 127 | 1/26/2025 |
8.2.3 | 105 | 1/9/2025 |
8.2.2 | 145 | 1/9/2025 |
8.1.4 | 137 | 1/1/2025 |
8.1.3 | 141 | 12/31/2024 |
8.1.2 | 112 | 12/26/2024 |
8.0.8 | 109 | 12/23/2024 |
8.0.7 | 110 | 12/23/2024 |
8.0.6 | 117 | 12/22/2024 |
8.0.5 | 116 | 12/21/2024 |
8.0.4 | 137 | 11/17/2024 |
8.0.3 | 179 | 11/17/2024 |
5.0.21 | 116 | 11/16/2024 |
5.0.20 | 128 | 10/20/2024 |
5.0.19 | 127 | 10/19/2024 |
5.0.18 | 130 | 10/19/2024 |
5.0.17 | 126 | 10/13/2024 |
5.0.16 | 122 | 10/12/2024 |
5.0.6 | 113 | 10/6/2024 |
5.0.5 | 120 | 10/2/2024 |
5.0.4 | 160 | 10/1/2024 |
5.0.3 | 133 | 9/22/2024 |
5.0.2 | 214 | 9/16/2024 |
4.0.9 | 135 | 9/15/2024 |
4.0.8 | 113 | 9/8/2024 |
4.0.7 | 108 | 9/8/2024 |
4.0.6 | 121 | 9/8/2024 |
4.0.5 | 112 | 9/8/2024 |
4.0.2 | 149 | 9/8/2024 |
3.1.27 | 121 | 9/8/2024 |
3.1.26 | 146 | 9/7/2024 |
3.1.25 | 130 | 9/7/2024 |
3.1.24 | 156 | 9/7/2024 |
3.1.23 | 133 | 9/1/2024 |
3.1.22 | 141 | 9/1/2024 |
3.1.21 | 163 | 6/16/2024 |
3.1.20 | 133 | 5/31/2024 |
3.1.19 | 154 | 5/20/2024 |
3.1.18 | 132 | 5/10/2024 |
3.1.17 | 154 | 4/12/2024 |
3.1.16 | 148 | 4/4/2024 |
3.1.15 | 140 | 3/22/2024 |
3.1.11 | 143 | 3/19/2024 |
3.1.10 | 145 | 2/16/2024 |
3.1.7 | 156 | 2/11/2024 |
3.1.6 | 144 | 2/11/2024 |
3.1.5 | 146 | 2/11/2024 |
3.1.4 | 150 | 2/11/2024 |
3.0.18 | 201 | 1/29/2024 |
3.0.17 | 133 | 1/29/2024 |
3.0.16 | 132 | 1/27/2024 |
3.0.15 | 108 | 1/27/2024 |
3.0.8 | 133 | 1/27/2024 |
3.0.7 | 169 | 1/13/2024 |
2.0.18 | 177 | 1/4/2024 |
2.0.17 | 164 | 1/1/2024 |
2.0.16 | 150 | 12/27/2023 |
2.0.15 | 140 | 12/26/2023 |
2.0.14 | 164 | 12/26/2023 |
2.0.13 | 149 | 12/25/2023 |
2.0.11 | 153 | 12/23/2023 |
2.0.10 | 157 | 12/16/2023 |
2.0.9 | 148 | 12/15/2023 |
2.0.8 | 164 | 12/14/2023 |
2.0.7 | 152 | 12/13/2023 |
2.0.5 | 146 | 12/11/2023 |
2.0.4 | 146 | 12/11/2023 |
2.0.2 | 218 | 12/10/2023 |
1.9.2 | 162 | 12/10/2023 |
1.8.4 | 171 | 12/10/2023 |
1.8.3 | 159 | 12/9/2023 |
1.8.2 | 160 | 12/9/2023 |
1.1.28 | 180 | 11/27/2023 |
1.1.27 | 164 | 11/26/2023 |
1.1.26 | 159 | 11/18/2023 |
1.1.25 | 153 | 11/17/2023 |
1.1.24 | 171 | 10/30/2023 |
1.1.23 | 156 | 10/29/2023 |
1.1.22 | 171 | 10/22/2023 |
1.1.21 | 169 | 10/17/2023 |
1.1.20 | 187 | 9/16/2023 |
1.1.19 | 221 | 8/27/2023 |
1.1.18 | 198 | 7/31/2023 |
1.1.17 | 222 | 7/16/2023 |
1.1.16 | 218 | 7/9/2023 |
1.1.15 | 212 | 7/8/2023 |
1.1.14 | 212 | 7/5/2023 |
1.1.13 | 234 | 6/29/2023 |
1.1.12 | 243 | 5/1/2023 |
1.1.11 | 329 | 3/5/2023 |
1.1.10 | 345 | 3/3/2023 |
1.1.9 | 339 | 2/28/2023 |
1.1.7 | 332 | 2/26/2023 |
1.1.6 | 335 | 2/26/2023 |
1.1.5 | 324 | 2/26/2023 |
1.1.3 | 328 | 2/25/2023 |
1.1.0 | 329 | 2/25/2023 |
1.0.108 | 364 | 1/23/2023 |
1.0.107 | 400 | 1/13/2023 |
1.0.106 | 387 | 1/13/2023 |
1.0.105 | 382 | 1/12/2023 |
1.0.104 | 394 | 1/11/2023 |
1.0.103 | 400 | 1/7/2023 |
1.0.102 | 381 | 1/6/2023 |
1.0.101 | 381 | 1/6/2023 |
1.0.100 | 385 | 1/2/2023 |
1.0.99 | 375 | 12/30/2022 |
1.0.98 | 393 | 12/28/2022 |
1.0.97 | 376 | 12/28/2022 |
1.0.95 | 397 | 12/3/2022 |
1.0.94 | 411 | 11/24/2022 |
1.0.93 | 461 | 11/1/2022 |
1.0.92 | 480 | 10/30/2022 |
1.0.91 | 478 | 10/27/2022 |
1.0.90 | 477 | 10/26/2022 |
1.0.89 | 485 | 10/26/2022 |
1.0.88 | 491 | 10/23/2022 |
1.0.86 | 494 | 10/18/2022 |
1.0.85 | 472 | 10/18/2022 |
1.0.84 | 487 | 10/16/2022 |
1.0.83 | 483 | 10/15/2022 |
1.0.82 | 492 | 10/15/2022 |
1.0.81 | 491 | 10/10/2022 |
1.0.80 | 482 | 10/6/2022 |
1.0.79 | 477 | 10/6/2022 |
1.0.78 | 532 | 10/2/2022 |
1.0.77 | 563 | 9/27/2022 |
1.0.76 | 571 | 9/25/2022 |
1.0.75 | 588 | 9/23/2022 |
1.0.74 | 569 | 9/23/2022 |
1.0.73 | 567 | 9/10/2022 |
1.0.72 | 632 | 6/29/2022 |
1.0.71 | 615 | 5/29/2022 |
1.0.70 | 624 | 5/29/2022 |
1.0.69 | 624 | 5/28/2022 |
1.0.68 | 621 | 5/24/2022 |
1.0.66 | 648 | 5/1/2022 |
1.0.64 | 711 | 4/17/2022 |
1.0.63 | 668 | 4/15/2022 |
1.0.62 | 700 | 3/24/2022 |
1.0.61 | 679 | 3/20/2022 |
1.0.55 | 692 | 3/13/2022 |
1.0.54 | 678 | 3/11/2022 |
1.0.53 | 696 | 3/11/2022 |
1.0.52 | 683 | 3/11/2022 |
1.0.51 | 718 | 2/26/2022 |
1.0.50 | 913 | 2/9/2022 |
1.0.49 | 929 | 2/1/2022 |
1.0.48 | 934 | 1/25/2022 |
1.0.47 | 467 | 11/29/2021 |
1.0.46 | 421 | 11/27/2021 |
1.0.45 | 571 | 10/12/2021 |
1.0.44 | 514 | 8/23/2021 |
1.0.43 | 594 | 8/10/2021 |
1.0.42 | 478 | 7/21/2021 |
1.0.41 | 503 | 4/4/2021 |
1.0.40 | 492 | 4/4/2021 |
1.0.39 | 470 | 3/29/2021 |
1.0.38 | 560 | 3/27/2021 |
1.0.37 | 504 | 3/15/2021 |
1.0.36 | 542 | 3/14/2021 |