aemarcoWebTools 8.2.10
See the version list below for details.
dotnet add package aemarcoWebTools --version 8.2.10
NuGet\Install-Package aemarcoWebTools -Version 8.2.10
<PackageReference Include="aemarcoWebTools" Version="8.2.10" />
<PackageVersion Include="aemarcoWebTools" Version="8.2.10" />
<PackageReference Include="aemarcoWebTools" />
paket add aemarcoWebTools --version 8.2.10
#r "nuget: aemarcoWebTools, 8.2.10"
#addin nuget:?package=aemarcoWebTools&version=8.2.10
#tool nuget:?package=aemarcoWebTools&version=8.2.10
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.2.10)
- 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.1 | 62 | 3 days ago |
8.3.2 | 72 | 3 days ago |
8.2.11 | 67 | 3 days ago |
8.2.10 | 160 | 9 days ago |
8.2.9 | 142 | 16 days ago |
8.2.8 | 127 | 24 days ago |
8.2.7 | 256 | a month ago |
8.2.6 | 124 | a month ago |
8.2.5 | 86 | 2 months ago |
8.2.4 | 90 | 3 months ago |
8.2.3 | 72 | 3 months ago |
8.2.2 | 105 | 3 months ago |
8.1.4 | 113 | 4 months ago |
8.1.3 | 101 | 4 months ago |
8.1.2 | 90 | 4 months ago |
8.0.8 | 87 | 4 months ago |
8.0.7 | 87 | 4 months ago |
8.0.6 | 95 | 4 months ago |
8.0.5 | 90 | 4 months ago |
8.0.4 | 97 | 5 months ago |
8.0.3 | 143 | 5 months ago |
5.0.21 | 93 | 5 months ago |
5.0.20 | 96 | 6 months ago |
5.0.19 | 93 | 6 months ago |
5.0.18 | 111 | 6 months ago |
5.0.17 | 97 | 6 months ago |
5.0.16 | 99 | 6 months ago |
5.0.6 | 90 | 7 months ago |
5.0.5 | 98 | 7 months ago |
5.0.4 | 136 | 7 months ago |
5.0.3 | 100 | 7 months ago |
5.0.2 | 189 | 7 months ago |
4.0.9 | 115 | 7 months ago |
4.0.8 | 95 | 7 months ago |
4.0.7 | 86 | 7 months ago |
4.0.6 | 100 | 7 months ago |
4.0.5 | 80 | 7 months ago |
4.0.2 | 113 | 7 months ago |
3.1.27 | 100 | 7 months ago |
3.1.26 | 113 | 8 months ago |
3.1.25 | 110 | 8 months ago |
3.1.24 | 116 | 8 months ago |
3.1.23 | 102 | 8 months ago |
3.1.22 | 111 | 8 months ago |
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 | 116 | 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 | 124 | 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 | 149 | 1/13/2024 |
2.0.18 | 156 | 1/4/2024 |
2.0.17 | 144 | 1/1/2024 |
2.0.16 | 132 | 12/27/2023 |
2.0.15 | 120 | 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 | 137 | 12/16/2023 |
2.0.9 | 127 | 12/15/2023 |
2.0.8 | 138 | 12/14/2023 |
2.0.7 | 124 | 12/13/2023 |
2.0.5 | 125 | 12/11/2023 |
2.0.4 | 124 | 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 | 133 | 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 | 179 | 8/27/2023 |
1.1.18 | 149 | 7/31/2023 |
1.1.17 | 175 | 7/16/2023 |
1.1.16 | 170 | 7/9/2023 |
1.1.15 | 166 | 7/8/2023 |
1.1.14 | 163 | 7/5/2023 |
1.1.13 | 173 | 6/29/2023 |
1.1.12 | 192 | 5/1/2023 |
1.1.11 | 281 | 3/5/2023 |
1.1.10 | 274 | 3/3/2023 |
1.1.9 | 272 | 2/28/2023 |
1.1.7 | 275 | 2/26/2023 |
1.1.6 | 284 | 2/26/2023 |
1.1.5 | 271 | 2/26/2023 |
1.1.3 | 278 | 2/25/2023 |
1.1.0 | 278 | 2/25/2023 |
1.0.108 | 313 | 1/23/2023 |
1.0.107 | 334 | 1/13/2023 |
1.0.106 | 335 | 1/13/2023 |
1.0.105 | 333 | 1/12/2023 |
1.0.104 | 343 | 1/11/2023 |
1.0.103 | 352 | 1/7/2023 |
1.0.102 | 330 | 1/6/2023 |
1.0.101 | 332 | 1/6/2023 |
1.0.100 | 335 | 1/2/2023 |
1.0.99 | 326 | 12/30/2022 |
1.0.98 | 341 | 12/28/2022 |
1.0.97 | 324 | 12/28/2022 |
1.0.95 | 337 | 12/3/2022 |
1.0.94 | 362 | 11/24/2022 |
1.0.93 | 396 | 11/1/2022 |
1.0.92 | 419 | 10/30/2022 |
1.0.91 | 426 | 10/27/2022 |
1.0.90 | 426 | 10/26/2022 |
1.0.89 | 419 | 10/26/2022 |
1.0.88 | 439 | 10/23/2022 |
1.0.86 | 443 | 10/18/2022 |
1.0.85 | 419 | 10/18/2022 |
1.0.84 | 432 | 10/16/2022 |
1.0.83 | 430 | 10/15/2022 |
1.0.82 | 438 | 10/15/2022 |
1.0.81 | 438 | 10/10/2022 |
1.0.80 | 430 | 10/6/2022 |
1.0.79 | 423 | 10/6/2022 |
1.0.78 | 481 | 10/2/2022 |
1.0.77 | 501 | 9/27/2022 |
1.0.76 | 519 | 9/25/2022 |
1.0.75 | 519 | 9/23/2022 |
1.0.74 | 514 | 9/23/2022 |
1.0.73 | 497 | 9/10/2022 |
1.0.72 | 572 | 6/29/2022 |
1.0.71 | 555 | 5/29/2022 |
1.0.70 | 555 | 5/29/2022 |
1.0.69 | 553 | 5/28/2022 |
1.0.68 | 557 | 5/24/2022 |
1.0.66 | 588 | 5/1/2022 |
1.0.64 | 641 | 4/17/2022 |
1.0.63 | 603 | 4/15/2022 |
1.0.62 | 628 | 3/24/2022 |
1.0.61 | 617 | 3/20/2022 |
1.0.55 | 611 | 3/13/2022 |
1.0.54 | 610 | 3/11/2022 |
1.0.53 | 619 | 3/11/2022 |
1.0.52 | 616 | 3/11/2022 |
1.0.51 | 651 | 2/26/2022 |
1.0.50 | 847 | 2/9/2022 |
1.0.49 | 860 | 2/1/2022 |
1.0.48 | 867 | 1/25/2022 |
1.0.47 | 395 | 11/29/2021 |
1.0.46 | 359 | 11/27/2021 |
1.0.45 | 498 | 10/12/2021 |
1.0.44 | 449 | 8/23/2021 |
1.0.43 | 530 | 8/10/2021 |
1.0.42 | 403 | 7/21/2021 |
1.0.41 | 427 | 4/4/2021 |
1.0.40 | 426 | 4/4/2021 |
1.0.39 | 404 | 3/29/2021 |
1.0.38 | 491 | 3/27/2021 |
1.0.37 | 436 | 3/15/2021 |
1.0.36 | 474 | 3/14/2021 |