aemarcoWebTools 8.4.12

dotnet add package aemarcoWebTools --version 8.4.12
                    
NuGet\Install-Package aemarcoWebTools -Version 8.4.12
                    
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="8.4.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="aemarcoWebTools" Version="8.4.12" />
                    
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 8.4.12
                    
#r "nuget: aemarcoWebTools, 8.4.12"
                    
#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@8.4.12
                    
#: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=8.4.12
                    
Install as a Cake Addin
#tool nuget:?package=aemarcoWebTools&version=8.4.12
                    
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
8.4.12 150 8/30/2025
8.4.11 212 8/6/2025
8.4.10 51 8/2/2025
8.4.9 35 8/1/2025
8.4.6 94 7/27/2025
8.4.5 130 6/20/2025
8.4.4 96 5/3/2025
8.4.3 100 4/26/2025
8.4.2 116 4/25/2025
8.4.1 163 4/20/2025
8.3.2 174 4/20/2025
8.2.11 172 4/20/2025
8.2.10 197 4/13/2025
8.2.9 166 4/6/2025
8.2.8 153 3/30/2025
8.2.7 277 3/23/2025
8.2.6 145 3/16/2025
8.2.5 115 3/2/2025
8.2.4 121 1/26/2025
8.2.3 101 1/9/2025
8.2.2 141 1/9/2025
8.1.4 134 1/1/2025
8.1.3 137 12/31/2024
8.1.2 110 12/26/2024
8.0.8 107 12/23/2024
8.0.7 108 12/23/2024
8.0.6 115 12/22/2024
8.0.5 114 12/21/2024
8.0.4 133 11/17/2024
8.0.3 176 11/17/2024
5.0.21 114 11/16/2024
5.0.20 124 10/20/2024
5.0.19 124 10/19/2024
5.0.18 128 10/19/2024
5.0.17 124 10/13/2024
5.0.16 120 10/12/2024
5.0.6 111 10/6/2024
5.0.5 118 10/2/2024
5.0.4 158 10/1/2024
5.0.3 127 9/22/2024
5.0.2 212 9/16/2024
4.0.9 133 9/15/2024
4.0.8 111 9/8/2024
4.0.7 106 9/8/2024
4.0.6 119 9/8/2024
4.0.5 107 9/8/2024
4.0.2 145 9/8/2024
3.1.27 119 9/8/2024
3.1.26 140 9/7/2024
3.1.25 128 9/7/2024
3.1.24 154 9/7/2024
3.1.23 128 9/1/2024
3.1.22 139 9/1/2024
3.1.21 161 6/16/2024
3.1.20 131 5/31/2024
3.1.19 150 5/20/2024
3.1.18 130 5/10/2024
3.1.17 152 4/12/2024
3.1.16 145 4/4/2024
3.1.15 138 3/22/2024
3.1.11 141 3/19/2024
3.1.10 142 2/16/2024
3.1.7 153 2/11/2024
3.1.6 142 2/11/2024
3.1.5 144 2/11/2024
3.1.4 147 2/11/2024
3.0.18 199 1/29/2024
3.0.17 131 1/29/2024
3.0.16 130 1/27/2024
3.0.15 106 1/27/2024
3.0.8 131 1/27/2024
3.0.7 167 1/13/2024
2.0.18 175 1/4/2024
2.0.17 162 1/1/2024
2.0.16 148 12/27/2023
2.0.15 136 12/26/2023
2.0.14 161 12/26/2023
2.0.13 147 12/25/2023
2.0.11 150 12/23/2023
2.0.10 155 12/16/2023
2.0.9 146 12/15/2023
2.0.8 162 12/14/2023
2.0.7 150 12/13/2023
2.0.5 144 12/11/2023
2.0.4 144 12/11/2023
2.0.2 216 12/10/2023
1.9.2 157 12/10/2023
1.8.4 168 12/10/2023
1.8.3 156 12/9/2023
1.8.2 158 12/9/2023
1.1.28 177 11/27/2023
1.1.27 160 11/26/2023
1.1.26 157 11/18/2023
1.1.25 151 11/17/2023
1.1.24 171 10/30/2023
1.1.23 156 10/29/2023
1.1.22 171 10/22/2023
1.1.21 165 10/17/2023
1.1.20 187 9/16/2023
1.1.19 218 8/27/2023
1.1.18 194 7/31/2023
1.1.17 218 7/16/2023
1.1.16 214 7/9/2023
1.1.15 208 7/8/2023
1.1.14 208 7/5/2023
1.1.13 229 6/29/2023
1.1.12 238 5/1/2023
1.1.11 324 3/5/2023
1.1.10 338 3/3/2023
1.1.9 334 2/28/2023
1.1.7 327 2/26/2023
1.1.6 329 2/26/2023
1.1.5 319 2/26/2023
1.1.3 323 2/25/2023
1.1.0 324 2/25/2023
1.0.108 359 1/23/2023
1.0.107 393 1/13/2023
1.0.106 382 1/13/2023
1.0.105 377 1/12/2023
1.0.104 389 1/11/2023
1.0.103 394 1/7/2023
1.0.102 375 1/6/2023
1.0.101 376 1/6/2023
1.0.100 380 1/2/2023
1.0.99 370 12/30/2022
1.0.98 388 12/28/2022
1.0.97 370 12/28/2022
1.0.95 391 12/3/2022
1.0.94 405 11/24/2022
1.0.93 453 11/1/2022
1.0.92 471 10/30/2022
1.0.91 472 10/27/2022
1.0.90 471 10/26/2022
1.0.89 477 10/26/2022
1.0.88 485 10/23/2022
1.0.86 488 10/18/2022
1.0.85 466 10/18/2022
1.0.84 481 10/16/2022
1.0.83 477 10/15/2022
1.0.82 486 10/15/2022
1.0.81 485 10/10/2022
1.0.80 476 10/6/2022
1.0.79 471 10/6/2022
1.0.78 526 10/2/2022
1.0.77 553 9/27/2022
1.0.76 565 9/25/2022
1.0.75 582 9/23/2022
1.0.74 563 9/23/2022
1.0.73 558 9/10/2022
1.0.72 626 6/29/2022
1.0.71 609 5/29/2022
1.0.70 616 5/29/2022
1.0.69 615 5/28/2022
1.0.68 615 5/24/2022
1.0.66 642 5/1/2022
1.0.64 705 4/17/2022
1.0.63 661 4/15/2022
1.0.62 695 3/24/2022
1.0.61 674 3/20/2022
1.0.55 685 3/13/2022
1.0.54 673 3/11/2022
1.0.53 689 3/11/2022
1.0.52 677 3/11/2022
1.0.51 713 2/26/2022
1.0.50 908 2/9/2022
1.0.49 923 2/1/2022
1.0.48 929 1/25/2022
1.0.47 460 11/29/2021
1.0.46 416 11/27/2021
1.0.45 564 10/12/2021
1.0.44 509 8/23/2021
1.0.43 589 8/10/2021
1.0.42 470 7/21/2021
1.0.41 496 4/4/2021
1.0.40 487 4/4/2021
1.0.39 465 3/29/2021
1.0.38 554 3/27/2021
1.0.37 499 3/15/2021
1.0.36 537 3/14/2021