aemarcoWebTools 9.0.37

dotnet add package aemarcoWebTools --version 9.0.37
                    
NuGet\Install-Package aemarcoWebTools -Version 9.0.37
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="aemarcoWebTools" Version="9.0.37" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="aemarcoWebTools" Version="9.0.37" />
                    
Directory.Packages.props
<PackageReference Include="aemarcoWebTools" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add aemarcoWebTools --version 9.0.37
                    
#r "nuget: aemarcoWebTools, 9.0.37"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package aemarcoWebTools@9.0.37
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=aemarcoWebTools&version=9.0.37
                    
Install as a Cake Addin
#tool nuget:?package=aemarcoWebTools&version=9.0.37
                    
Install as a Cake Tool

aemarcoWebTools

<a href=https://www.nuget.org/packages/aemarcoWebTools><img src="https://buildstats.info/nuget/aemarcoWebTools"></a>

Table of Contents

  1. Authorization
  2. Filter
  3. Middleware

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 Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 249 9/14/2025
9.0.33 170 9/13/2025
9.0.31 168 9/13/2025
9.0.30 173 9/13/2025
9.0.6 167 9/13/2025
9.0.5 167 9/13/2025
9.0.4 170 9/13/2025
9.0.3 175 9/13/2025
8.4.13 194 9/11/2025
8.4.12 225 8/30/2025
8.4.11 275 8/6/2025
8.4.10 105 8/2/2025
8.4.9 86 8/1/2025
8.4.6 173 7/27/2025
8.4.5 196 6/20/2025
8.4.4 153 5/3/2025
8.4.3 147 4/26/2025
8.4.2 180 4/25/2025
8.4.1 213 4/20/2025
8.3.2 225 4/20/2025
8.2.11 219 4/20/2025
8.2.10 264 4/13/2025
8.2.9 214 4/6/2025
8.2.8 198 3/30/2025
8.2.7 325 3/23/2025
8.2.6 198 3/16/2025
8.2.5 174 3/2/2025
8.2.4 192 1/26/2025
8.2.3 167 1/9/2025
8.2.2 199 1/9/2025
8.1.4 186 1/1/2025
8.1.3 200 12/31/2024
8.1.2 160 12/26/2024
8.0.8 157 12/23/2024
8.0.7 156 12/23/2024
8.0.6 169 12/22/2024
8.0.5 161 12/21/2024
8.0.4 189 11/17/2024
8.0.3 242 11/17/2024
5.0.21 165 11/16/2024
5.0.20 181 10/20/2024
5.0.19 191 10/19/2024
5.0.18 175 10/19/2024
5.0.17 174 10/13/2024
5.0.16 173 10/12/2024
5.0.6 166 10/6/2024
5.0.5 171 10/2/2024
5.0.4 204 10/1/2024
5.0.3 196 9/22/2024
5.0.2 255 9/16/2024
4.0.9 180 9/15/2024
4.0.8 161 9/8/2024
4.0.7 156 9/8/2024
4.0.6 166 9/8/2024
4.0.5 181 9/8/2024
4.0.2 203 9/8/2024
3.1.27 163 9/8/2024
3.1.26 195 9/7/2024
3.1.25 173 9/7/2024
3.1.24 219 9/7/2024
3.1.23 189 9/1/2024
3.1.22 189 9/1/2024
3.1.21 213 6/16/2024
3.1.20 180 5/31/2024
3.1.19 212 5/20/2024
3.1.18 190 5/10/2024
3.1.17 204 4/12/2024
3.1.16 190 4/4/2024
3.1.15 185 3/22/2024
3.1.11 190 3/19/2024
3.1.10 196 2/16/2024
3.1.7 203 2/11/2024
3.1.6 186 2/11/2024
3.1.5 188 2/11/2024
3.1.4 196 2/11/2024
3.0.18 251 1/29/2024
3.0.17 186 1/29/2024
3.0.16 174 1/27/2024
3.0.15 159 1/27/2024
3.0.8 181 1/27/2024
3.0.7 216 1/13/2024
2.0.18 231 1/4/2024
2.0.17 215 1/1/2024
2.0.16 190 12/27/2023
2.0.15 187 12/26/2023
2.0.14 222 12/26/2023
2.0.13 198 12/25/2023
2.0.11 197 12/23/2023
2.0.10 206 12/16/2023
2.0.9 191 12/15/2023
2.0.8 209 12/14/2023
2.0.7 206 12/13/2023
2.0.5 197 12/11/2023
2.0.4 196 12/11/2023
2.0.2 261 12/10/2023
1.9.2 231 12/10/2023
1.8.4 225 12/10/2023
1.8.3 209 12/9/2023
1.8.2 219 12/9/2023
1.1.28 224 11/27/2023
1.1.27 221 11/26/2023
1.1.26 206 11/18/2023
1.1.25 203 11/17/2023
1.1.24 210 10/30/2023
1.1.23 190 10/29/2023
1.1.22 198 10/22/2023
1.1.21 225 10/17/2023
1.1.20 227 9/16/2023
1.1.19 264 8/27/2023
1.1.18 239 7/31/2023
1.1.17 264 7/16/2023
1.1.16 264 7/9/2023
1.1.15 256 7/8/2023
1.1.14 258 7/5/2023
1.1.13 307 6/29/2023
1.1.12 302 5/1/2023
1.1.11 388 3/5/2023
1.1.10 410 3/3/2023
1.1.9 411 2/28/2023
1.1.7 400 2/26/2023
1.1.6 398 2/26/2023
1.1.5 381 2/26/2023
1.1.3 386 2/25/2023
1.1.0 378 2/25/2023
1.0.108 427 1/23/2023
1.0.107 469 1/13/2023
1.0.106 446 1/13/2023
1.0.105 439 1/12/2023
1.0.104 455 1/11/2023
1.0.103 459 1/7/2023
1.0.102 440 1/6/2023
1.0.101 443 1/6/2023
1.0.100 440 1/2/2023
1.0.99 430 12/30/2022
1.0.98 455 12/28/2022
1.0.97 439 12/28/2022
1.0.95 479 12/3/2022
1.0.94 470 11/24/2022
1.0.93 533 11/1/2022
1.0.92 557 10/30/2022
1.0.91 535 10/27/2022
1.0.90 532 10/26/2022
1.0.89 569 10/26/2022
1.0.88 550 10/23/2022
1.0.86 567 10/18/2022
1.0.85 550 10/18/2022
1.0.84 535 10/16/2022
1.0.83 568 10/15/2022
1.0.82 557 10/15/2022
1.0.81 574 10/10/2022
1.0.80 545 10/6/2022
1.0.79 543 10/6/2022
1.0.78 595 10/2/2022
1.0.77 655 9/27/2022
1.0.76 625 9/25/2022
1.0.75 673 9/23/2022
1.0.74 627 9/23/2022
1.0.73 656 9/10/2022
1.0.72 707 6/29/2022
1.0.71 698 5/29/2022
1.0.70 698 5/29/2022
1.0.69 703 5/28/2022
1.0.68 691 5/24/2022
1.0.66 712 5/1/2022
1.0.64 792 4/17/2022
1.0.63 754 4/15/2022
1.0.62 782 3/24/2022
1.0.61 746 3/20/2022
1.0.55 780 3/13/2022
1.0.54 748 3/11/2022
1.0.53 773 3/11/2022
1.0.52 758 3/11/2022
1.0.51 815 2/26/2022
1.0.50 1,000 2/9/2022
1.0.49 988 2/1/2022
1.0.48 1,017 1/25/2022
1.0.47 544 11/29/2021
1.0.46 505 11/27/2021
1.0.45 673 10/12/2021
1.0.44 580 8/23/2021
1.0.43 681 8/10/2021
1.0.42 566 7/21/2021
1.0.41 593 4/4/2021
1.0.40 562 4/4/2021
1.0.39 538 3/29/2021
1.0.38 632 3/27/2021
1.0.37 583 3/15/2021
1.0.36 616 3/14/2021