aemarcoWebTools 8.2.5
dotnet add package aemarcoWebTools --version 8.2.5
NuGet\Install-Package aemarcoWebTools -Version 8.2.5
<PackageReference Include="aemarcoWebTools" Version="8.2.5" />
paket add aemarcoWebTools --version 8.2.5
#r "nuget: aemarcoWebTools, 8.2.5"
// Install aemarcoWebTools as a Cake Addin #addin nuget:?package=aemarcoWebTools&version=8.2.5 // Install aemarcoWebTools as a Cake Tool #tool nuget:?package=aemarcoWebTools&version=8.2.5
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.5)
- aemarcoToolboxAppOptions (>= 8.2.5)
- 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.2.5 | 55 | 3/2/2025 |
8.2.4 | 83 | 1/26/2025 |
8.2.3 | 65 | 1/9/2025 |
8.2.2 | 89 | 1/9/2025 |
8.1.4 | 106 | 1/1/2025 |
8.1.3 | 93 | 12/31/2024 |
8.1.2 | 85 | 12/26/2024 |
8.0.8 | 83 | 12/23/2024 |
8.0.7 | 83 | 12/23/2024 |
8.0.6 | 92 | 12/22/2024 |
8.0.5 | 85 | 12/21/2024 |
8.0.4 | 95 | 11/17/2024 |
8.0.3 | 140 | 11/17/2024 |
5.0.21 | 91 | 11/16/2024 |
5.0.20 | 94 | 10/20/2024 |
5.0.19 | 92 | 10/19/2024 |
5.0.18 | 110 | 10/19/2024 |
5.0.17 | 96 | 10/13/2024 |
5.0.16 | 98 | 10/12/2024 |
5.0.6 | 88 | 10/6/2024 |
5.0.5 | 96 | 10/2/2024 |
5.0.4 | 134 | 10/1/2024 |
5.0.3 | 98 | 9/22/2024 |
5.0.2 | 187 | 9/16/2024 |
4.0.9 | 112 | 9/15/2024 |
4.0.8 | 93 | 9/8/2024 |
4.0.7 | 84 | 9/8/2024 |
4.0.6 | 98 | 9/8/2024 |
4.0.5 | 78 | 9/8/2024 |
4.0.2 | 112 | 9/8/2024 |
3.1.27 | 99 | 9/8/2024 |
3.1.26 | 111 | 9/7/2024 |
3.1.25 | 109 | 9/7/2024 |
3.1.24 | 114 | 9/7/2024 |
3.1.23 | 99 | 9/1/2024 |
3.1.22 | 109 | 9/1/2024 |
3.1.21 | 133 | 6/16/2024 |
3.1.20 | 108 | 5/31/2024 |
3.1.19 | 122 | 5/20/2024 |
3.1.18 | 98 | 5/10/2024 |
3.1.17 | 133 | 4/12/2024 |
3.1.16 | 122 | 4/4/2024 |
3.1.15 | 115 | 3/22/2024 |
3.1.11 | 115 | 3/19/2024 |
3.1.10 | 124 | 2/16/2024 |
3.1.7 | 135 | 2/11/2024 |
3.1.6 | 124 | 2/11/2024 |
3.1.5 | 123 | 2/11/2024 |
3.1.4 | 127 | 2/11/2024 |
3.0.18 | 180 | 1/29/2024 |
3.0.17 | 106 | 1/29/2024 |
3.0.16 | 109 | 1/27/2024 |
3.0.15 | 85 | 1/27/2024 |
3.0.8 | 109 | 1/27/2024 |
3.0.7 | 148 | 1/13/2024 |
2.0.18 | 152 | 1/4/2024 |
2.0.17 | 142 | 1/1/2024 |
2.0.16 | 131 | 12/27/2023 |
2.0.15 | 119 | 12/26/2023 |
2.0.14 | 140 | 12/26/2023 |
2.0.13 | 129 | 12/25/2023 |
2.0.11 | 132 | 12/23/2023 |
2.0.10 | 136 | 12/16/2023 |
2.0.9 | 125 | 12/15/2023 |
2.0.8 | 136 | 12/14/2023 |
2.0.7 | 123 | 12/13/2023 |
2.0.5 | 123 | 12/11/2023 |
2.0.4 | 123 | 12/11/2023 |
2.0.2 | 199 | 12/10/2023 |
1.9.2 | 128 | 12/10/2023 |
1.8.4 | 138 | 12/10/2023 |
1.8.3 | 138 | 12/9/2023 |
1.8.2 | 127 | 12/9/2023 |
1.1.28 | 153 | 11/27/2023 |
1.1.27 | 136 | 11/26/2023 |
1.1.26 | 139 | 11/18/2023 |
1.1.25 | 131 | 11/17/2023 |
1.1.24 | 150 | 10/30/2023 |
1.1.23 | 134 | 10/29/2023 |
1.1.22 | 146 | 10/22/2023 |
1.1.21 | 129 | 10/17/2023 |
1.1.20 | 161 | 9/16/2023 |
1.1.19 | 177 | 8/27/2023 |
1.1.18 | 147 | 7/31/2023 |
1.1.17 | 174 | 7/16/2023 |
1.1.16 | 169 | 7/9/2023 |
1.1.15 | 164 | 7/8/2023 |
1.1.14 | 161 | 7/5/2023 |
1.1.13 | 172 | 6/29/2023 |
1.1.12 | 188 | 5/1/2023 |
1.1.11 | 278 | 3/5/2023 |
1.1.10 | 271 | 3/3/2023 |
1.1.9 | 268 | 2/28/2023 |
1.1.7 | 271 | 2/26/2023 |
1.1.6 | 280 | 2/26/2023 |
1.1.5 | 267 | 2/26/2023 |
1.1.3 | 275 | 2/25/2023 |
1.1.0 | 273 | 2/25/2023 |
1.0.108 | 308 | 1/23/2023 |
1.0.107 | 329 | 1/13/2023 |
1.0.106 | 330 | 1/13/2023 |
1.0.105 | 328 | 1/12/2023 |
1.0.104 | 337 | 1/11/2023 |
1.0.103 | 347 | 1/7/2023 |
1.0.102 | 324 | 1/6/2023 |
1.0.101 | 326 | 1/6/2023 |
1.0.100 | 329 | 1/2/2023 |
1.0.99 | 321 | 12/30/2022 |
1.0.98 | 335 | 12/28/2022 |
1.0.97 | 319 | 12/28/2022 |
1.0.95 | 331 | 12/3/2022 |
1.0.94 | 356 | 11/24/2022 |
1.0.93 | 390 | 11/1/2022 |
1.0.92 | 413 | 10/30/2022 |
1.0.91 | 421 | 10/27/2022 |
1.0.90 | 419 | 10/26/2022 |
1.0.89 | 412 | 10/26/2022 |
1.0.88 | 433 | 10/23/2022 |
1.0.86 | 437 | 10/18/2022 |
1.0.85 | 412 | 10/18/2022 |
1.0.84 | 425 | 10/16/2022 |
1.0.83 | 424 | 10/15/2022 |
1.0.82 | 432 | 10/15/2022 |
1.0.81 | 432 | 10/10/2022 |
1.0.80 | 423 | 10/6/2022 |
1.0.79 | 416 | 10/6/2022 |
1.0.78 | 474 | 10/2/2022 |
1.0.77 | 493 | 9/27/2022 |
1.0.76 | 511 | 9/25/2022 |
1.0.75 | 512 | 9/23/2022 |
1.0.74 | 507 | 9/23/2022 |
1.0.73 | 490 | 9/10/2022 |
1.0.72 | 564 | 6/29/2022 |
1.0.71 | 546 | 5/29/2022 |
1.0.70 | 546 | 5/29/2022 |
1.0.69 | 544 | 5/28/2022 |
1.0.68 | 549 | 5/24/2022 |
1.0.66 | 580 | 5/1/2022 |
1.0.64 | 631 | 4/17/2022 |
1.0.63 | 593 | 4/15/2022 |
1.0.62 | 619 | 3/24/2022 |
1.0.61 | 607 | 3/20/2022 |
1.0.55 | 598 | 3/13/2022 |
1.0.54 | 600 | 3/11/2022 |
1.0.53 | 608 | 3/11/2022 |
1.0.52 | 606 | 3/11/2022 |
1.0.51 | 641 | 2/26/2022 |
1.0.50 | 836 | 2/9/2022 |
1.0.49 | 848 | 2/1/2022 |
1.0.48 | 856 | 1/25/2022 |
1.0.47 | 384 | 11/29/2021 |
1.0.46 | 348 | 11/27/2021 |
1.0.45 | 486 | 10/12/2021 |
1.0.44 | 437 | 8/23/2021 |
1.0.43 | 518 | 8/10/2021 |
1.0.42 | 390 | 7/21/2021 |
1.0.41 | 412 | 4/4/2021 |
1.0.40 | 410 | 4/4/2021 |
1.0.39 | 389 | 3/29/2021 |
1.0.38 | 475 | 3/27/2021 |
1.0.37 | 421 | 3/15/2021 |
1.0.36 | 459 | 3/14/2021 |