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. net10.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 | 72 | 5/3/2025 |
8.4.3 | 84 | 4/26/2025 |
8.4.2 | 83 | 4/25/2025 |
8.4.1 | 148 | 4/20/2025 |
8.3.2 | 161 | 4/20/2025 |
8.2.11 | 155 | 4/20/2025 |
8.2.10 | 171 | 4/13/2025 |
8.2.9 | 152 | 4/6/2025 |
8.2.8 | 135 | 3/30/2025 |
8.2.7 | 263 | 3/23/2025 |
8.2.6 | 132 | 3/16/2025 |
8.2.5 | 95 | 3/2/2025 |
8.2.4 | 96 | 1/26/2025 |
8.2.3 | 80 | 1/9/2025 |
8.2.2 | 113 | 1/9/2025 |
8.1.4 | 120 | 1/1/2025 |
8.1.3 | 110 | 12/31/2024 |
8.1.2 | 96 | 12/26/2024 |
8.0.8 | 93 | 12/23/2024 |
8.0.7 | 92 | 12/23/2024 |
8.0.6 | 100 | 12/22/2024 |
8.0.5 | 96 | 12/21/2024 |
8.0.4 | 103 | 11/17/2024 |
8.0.3 | 149 | 11/17/2024 |
5.0.21 | 99 | 11/16/2024 |
5.0.20 | 101 | 10/20/2024 |
5.0.19 | 100 | 10/19/2024 |
5.0.18 | 117 | 10/19/2024 |
5.0.17 | 103 | 10/13/2024 |
5.0.16 | 104 | 10/12/2024 |
5.0.6 | 97 | 10/6/2024 |
5.0.5 | 104 | 10/2/2024 |
5.0.4 | 143 | 10/1/2024 |
5.0.3 | 107 | 9/22/2024 |
5.0.2 | 194 | 9/16/2024 |
4.0.9 | 121 | 9/15/2024 |
4.0.8 | 100 | 9/8/2024 |
4.0.7 | 91 | 9/8/2024 |
4.0.6 | 107 | 9/8/2024 |
4.0.5 | 88 | 9/8/2024 |
4.0.2 | 122 | 9/8/2024 |
3.1.27 | 106 | 9/8/2024 |
3.1.26 | 121 | 9/7/2024 |
3.1.25 | 115 | 9/7/2024 |
3.1.24 | 123 | 9/7/2024 |
3.1.23 | 110 | 9/1/2024 |
3.1.22 | 117 | 9/1/2024 |
3.1.21 | 140 | 6/16/2024 |
3.1.20 | 114 | 5/31/2024 |
3.1.19 | 131 | 5/20/2024 |
3.1.18 | 105 | 5/10/2024 |
3.1.17 | 140 | 4/12/2024 |
3.1.16 | 129 | 4/4/2024 |
3.1.15 | 125 | 3/22/2024 |
3.1.11 | 124 | 3/19/2024 |
3.1.10 | 131 | 2/16/2024 |
3.1.7 | 142 | 2/11/2024 |
3.1.6 | 131 | 2/11/2024 |
3.1.5 | 131 | 2/11/2024 |
3.1.4 | 135 | 2/11/2024 |
3.0.18 | 187 | 1/29/2024 |
3.0.17 | 113 | 1/29/2024 |
3.0.16 | 116 | 1/27/2024 |
3.0.15 | 92 | 1/27/2024 |
3.0.8 | 116 | 1/27/2024 |
3.0.7 | 155 | 1/13/2024 |
2.0.18 | 161 | 1/4/2024 |
2.0.17 | 149 | 1/1/2024 |
2.0.16 | 138 | 12/27/2023 |
2.0.15 | 126 | 12/26/2023 |
2.0.14 | 146 | 12/26/2023 |
2.0.13 | 135 | 12/25/2023 |
2.0.11 | 139 | 12/23/2023 |
2.0.10 | 144 | 12/16/2023 |
2.0.9 | 134 | 12/15/2023 |
2.0.8 | 144 | 12/14/2023 |
2.0.7 | 131 | 12/13/2023 |
2.0.5 | 131 | 12/11/2023 |
2.0.4 | 130 | 12/11/2023 |
2.0.2 | 206 | 12/10/2023 |
1.9.2 | 137 | 12/10/2023 |
1.8.4 | 145 | 12/10/2023 |
1.8.3 | 144 | 12/9/2023 |
1.8.2 | 136 | 12/9/2023 |
1.1.28 | 161 | 11/27/2023 |
1.1.27 | 145 | 11/26/2023 |
1.1.26 | 147 | 11/18/2023 |
1.1.25 | 140 | 11/17/2023 |
1.1.24 | 157 | 10/30/2023 |
1.1.23 | 140 | 10/29/2023 |
1.1.22 | 154 | 10/22/2023 |
1.1.21 | 136 | 10/17/2023 |
1.1.20 | 169 | 9/16/2023 |
1.1.19 | 188 | 8/27/2023 |
1.1.18 | 159 | 7/31/2023 |
1.1.17 | 186 | 7/16/2023 |
1.1.16 | 181 | 7/9/2023 |
1.1.15 | 177 | 7/8/2023 |
1.1.14 | 175 | 7/5/2023 |
1.1.13 | 186 | 6/29/2023 |
1.1.12 | 205 | 5/1/2023 |
1.1.11 | 293 | 3/5/2023 |
1.1.10 | 289 | 3/3/2023 |
1.1.9 | 287 | 2/28/2023 |
1.1.7 | 288 | 2/26/2023 |
1.1.6 | 297 | 2/26/2023 |
1.1.5 | 283 | 2/26/2023 |
1.1.3 | 290 | 2/25/2023 |
1.1.0 | 290 | 2/25/2023 |
1.0.108 | 325 | 1/23/2023 |
1.0.107 | 348 | 1/13/2023 |
1.0.106 | 348 | 1/13/2023 |
1.0.105 | 345 | 1/12/2023 |
1.0.104 | 355 | 1/11/2023 |
1.0.103 | 363 | 1/7/2023 |
1.0.102 | 342 | 1/6/2023 |
1.0.101 | 343 | 1/6/2023 |
1.0.100 | 347 | 1/2/2023 |
1.0.99 | 337 | 12/30/2022 |
1.0.98 | 352 | 12/28/2022 |
1.0.97 | 336 | 12/28/2022 |
1.0.95 | 351 | 12/3/2022 |
1.0.94 | 373 | 11/24/2022 |
1.0.93 | 407 | 11/1/2022 |
1.0.92 | 430 | 10/30/2022 |
1.0.91 | 437 | 10/27/2022 |
1.0.90 | 438 | 10/26/2022 |
1.0.89 | 431 | 10/26/2022 |
1.0.88 | 452 | 10/23/2022 |
1.0.86 | 454 | 10/18/2022 |
1.0.85 | 430 | 10/18/2022 |
1.0.84 | 444 | 10/16/2022 |
1.0.83 | 443 | 10/15/2022 |
1.0.82 | 450 | 10/15/2022 |
1.0.81 | 450 | 10/10/2022 |
1.0.80 | 442 | 10/6/2022 |
1.0.79 | 434 | 10/6/2022 |
1.0.78 | 493 | 10/2/2022 |
1.0.77 | 514 | 9/27/2022 |
1.0.76 | 531 | 9/25/2022 |
1.0.75 | 532 | 9/23/2022 |
1.0.74 | 526 | 9/23/2022 |
1.0.73 | 510 | 9/10/2022 |
1.0.72 | 588 | 6/29/2022 |
1.0.71 | 573 | 5/29/2022 |
1.0.70 | 572 | 5/29/2022 |
1.0.69 | 572 | 5/28/2022 |
1.0.68 | 574 | 5/24/2022 |
1.0.66 | 606 | 5/1/2022 |
1.0.64 | 660 | 4/17/2022 |
1.0.63 | 622 | 4/15/2022 |
1.0.62 | 649 | 3/24/2022 |
1.0.61 | 638 | 3/20/2022 |
1.0.55 | 631 | 3/13/2022 |
1.0.54 | 632 | 3/11/2022 |
1.0.53 | 641 | 3/11/2022 |
1.0.52 | 638 | 3/11/2022 |
1.0.51 | 671 | 2/26/2022 |
1.0.50 | 868 | 2/9/2022 |
1.0.49 | 882 | 2/1/2022 |
1.0.48 | 895 | 1/25/2022 |
1.0.47 | 417 | 11/29/2021 |
1.0.46 | 380 | 11/27/2021 |
1.0.45 | 521 | 10/12/2021 |
1.0.44 | 472 | 8/23/2021 |
1.0.43 | 551 | 8/10/2021 |
1.0.42 | 425 | 7/21/2021 |
1.0.41 | 453 | 4/4/2021 |
1.0.40 | 450 | 4/4/2021 |
1.0.39 | 428 | 3/29/2021 |
1.0.38 | 515 | 3/27/2021 |
1.0.37 | 461 | 3/15/2021 |
1.0.36 | 499 | 3/14/2021 |