aemarcoWebTools 1.8.2
See the version list below for details.
dotnet add package aemarcoWebTools --version 1.8.2
NuGet\Install-Package aemarcoWebTools -Version 1.8.2
<PackageReference Include="aemarcoWebTools" Version="1.8.2" />
paket add aemarcoWebTools --version 1.8.2
#r "nuget: aemarcoWebTools, 1.8.2"
// Install aemarcoWebTools as a Cake Addin #addin nuget:?package=aemarcoWebTools&version=1.8.2 // Install aemarcoWebTools as a Cake Tool #tool nuget:?package=aemarcoWebTools&version=1.8.2
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. |
-
net8.0-windows7.0
- aemarcoToolbox (>= 1.8.2)
- Serilog.AspNetCore (>= 8.0.0)
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.0.4 | 41 | 11/17/2024 |
8.0.3 | 52 | 11/17/2024 |
5.0.21 | 47 | 11/16/2024 |
5.0.20 | 75 | 10/20/2024 |
5.0.19 | 74 | 10/19/2024 |
5.0.18 | 89 | 10/19/2024 |
5.0.17 | 74 | 10/13/2024 |
5.0.16 | 76 | 10/12/2024 |
5.0.6 | 69 | 10/6/2024 |
5.0.5 | 77 | 10/2/2024 |
5.0.4 | 114 | 10/1/2024 |
5.0.3 | 80 | 9/22/2024 |
5.0.2 | 166 | 9/16/2024 |
4.0.9 | 96 | 9/15/2024 |
4.0.8 | 75 | 9/8/2024 |
4.0.7 | 67 | 9/8/2024 |
4.0.6 | 79 | 9/8/2024 |
4.0.5 | 65 | 9/8/2024 |
4.0.2 | 99 | 9/8/2024 |
3.1.27 | 87 | 9/8/2024 |
3.1.26 | 99 | 9/7/2024 |
3.1.25 | 97 | 9/7/2024 |
3.1.24 | 96 | 9/7/2024 |
3.1.23 | 85 | 9/1/2024 |
3.1.22 | 95 | 9/1/2024 |
3.1.21 | 118 | 6/16/2024 |
3.1.20 | 97 | 5/31/2024 |
3.1.19 | 109 | 5/20/2024 |
3.1.18 | 87 | 5/10/2024 |
3.1.17 | 123 | 4/12/2024 |
3.1.16 | 113 | 4/4/2024 |
3.1.15 | 100 | 3/22/2024 |
3.1.11 | 106 | 3/19/2024 |
3.1.10 | 111 | 2/16/2024 |
3.1.7 | 122 | 2/11/2024 |
3.1.6 | 111 | 2/11/2024 |
3.1.5 | 110 | 2/11/2024 |
3.1.4 | 114 | 2/11/2024 |
3.0.18 | 171 | 1/29/2024 |
3.0.17 | 97 | 1/29/2024 |
3.0.16 | 100 | 1/27/2024 |
3.0.15 | 74 | 1/27/2024 |
3.0.8 | 100 | 1/27/2024 |
3.0.7 | 139 | 1/13/2024 |
2.0.18 | 143 | 1/4/2024 |
2.0.17 | 133 | 1/1/2024 |
2.0.16 | 122 | 12/27/2023 |
2.0.15 | 110 | 12/26/2023 |
2.0.14 | 131 | 12/26/2023 |
2.0.13 | 120 | 12/25/2023 |
2.0.11 | 121 | 12/23/2023 |
2.0.10 | 123 | 12/16/2023 |
2.0.9 | 116 | 12/15/2023 |
2.0.8 | 127 | 12/14/2023 |
2.0.7 | 114 | 12/13/2023 |
2.0.5 | 114 | 12/11/2023 |
2.0.4 | 114 | 12/11/2023 |
2.0.2 | 190 | 12/10/2023 |
1.9.2 | 119 | 12/10/2023 |
1.8.4 | 123 | 12/10/2023 |
1.8.3 | 129 | 12/9/2023 |
1.8.2 | 118 | 12/9/2023 |
1.1.28 | 142 | 11/27/2023 |
1.1.27 | 127 | 11/26/2023 |
1.1.26 | 130 | 11/18/2023 |
1.1.25 | 119 | 11/17/2023 |
1.1.24 | 141 | 10/30/2023 |
1.1.23 | 125 | 10/29/2023 |
1.1.22 | 135 | 10/22/2023 |
1.1.21 | 120 | 10/17/2023 |
1.1.20 | 152 | 9/16/2023 |
1.1.19 | 168 | 8/27/2023 |
1.1.18 | 138 | 7/31/2023 |
1.1.17 | 165 | 7/16/2023 |
1.1.16 | 160 | 7/9/2023 |
1.1.15 | 154 | 7/8/2023 |
1.1.14 | 150 | 7/5/2023 |
1.1.13 | 161 | 6/29/2023 |
1.1.12 | 173 | 5/1/2023 |
1.1.11 | 262 | 3/5/2023 |
1.1.10 | 256 | 3/3/2023 |
1.1.9 | 252 | 2/28/2023 |
1.1.7 | 256 | 2/26/2023 |
1.1.6 | 265 | 2/26/2023 |
1.1.5 | 252 | 2/26/2023 |
1.1.3 | 260 | 2/25/2023 |
1.1.0 | 258 | 2/25/2023 |
1.0.108 | 292 | 1/23/2023 |
1.0.107 | 313 | 1/13/2023 |
1.0.106 | 314 | 1/13/2023 |
1.0.105 | 310 | 1/12/2023 |
1.0.104 | 323 | 1/11/2023 |
1.0.103 | 331 | 1/7/2023 |
1.0.102 | 308 | 1/6/2023 |
1.0.101 | 310 | 1/6/2023 |
1.0.100 | 313 | 1/2/2023 |
1.0.99 | 302 | 12/30/2022 |
1.0.98 | 319 | 12/28/2022 |
1.0.97 | 303 | 12/28/2022 |
1.0.95 | 315 | 12/3/2022 |
1.0.94 | 336 | 11/24/2022 |
1.0.93 | 374 | 11/1/2022 |
1.0.92 | 397 | 10/30/2022 |
1.0.91 | 405 | 10/27/2022 |
1.0.90 | 403 | 10/26/2022 |
1.0.89 | 396 | 10/26/2022 |
1.0.88 | 417 | 10/23/2022 |
1.0.86 | 421 | 10/18/2022 |
1.0.85 | 394 | 10/18/2022 |
1.0.84 | 409 | 10/16/2022 |
1.0.83 | 408 | 10/15/2022 |
1.0.82 | 416 | 10/15/2022 |
1.0.81 | 415 | 10/10/2022 |
1.0.80 | 407 | 10/6/2022 |
1.0.79 | 400 | 10/6/2022 |
1.0.78 | 458 | 10/2/2022 |
1.0.77 | 477 | 9/27/2022 |
1.0.76 | 495 | 9/25/2022 |
1.0.75 | 496 | 9/23/2022 |
1.0.74 | 491 | 9/23/2022 |
1.0.73 | 474 | 9/10/2022 |
1.0.72 | 548 | 6/29/2022 |
1.0.71 | 530 | 5/29/2022 |
1.0.70 | 528 | 5/29/2022 |
1.0.69 | 528 | 5/28/2022 |
1.0.68 | 531 | 5/24/2022 |
1.0.66 | 564 | 5/1/2022 |
1.0.64 | 615 | 4/17/2022 |
1.0.63 | 577 | 4/15/2022 |
1.0.62 | 603 | 3/24/2022 |
1.0.61 | 591 | 3/20/2022 |
1.0.55 | 582 | 3/13/2022 |
1.0.54 | 584 | 3/11/2022 |
1.0.53 | 592 | 3/11/2022 |
1.0.52 | 590 | 3/11/2022 |
1.0.51 | 625 | 2/26/2022 |
1.0.50 | 820 | 2/9/2022 |
1.0.49 | 832 | 2/1/2022 |
1.0.48 | 840 | 1/25/2022 |
1.0.47 | 368 | 11/29/2021 |
1.0.46 | 332 | 11/27/2021 |
1.0.45 | 470 | 10/12/2021 |
1.0.44 | 420 | 8/23/2021 |
1.0.43 | 502 | 8/10/2021 |
1.0.42 | 375 | 7/21/2021 |
1.0.41 | 396 | 4/4/2021 |
1.0.40 | 394 | 4/4/2021 |
1.0.39 | 373 | 3/29/2021 |
1.0.38 | 459 | 3/27/2021 |
1.0.37 | 405 | 3/15/2021 |
1.0.36 | 443 | 3/14/2021 |