aemarcoWebTools 8.4.12

There is a newer version of this package available.
See the version list below for details.
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
9.0.37 201 9/14/2025
9.0.33 131 9/13/2025
9.0.31 128 9/13/2025
9.0.30 126 9/13/2025
9.0.6 126 9/13/2025
9.0.5 122 9/13/2025
9.0.4 128 9/13/2025
9.0.3 128 9/13/2025
8.4.13 153 9/11/2025
8.4.12 181 8/30/2025
8.4.11 238 8/6/2025
8.4.10 66 8/2/2025
8.4.9 50 8/1/2025
8.4.6 126 7/27/2025
8.4.5 152 6/20/2025
8.4.4 111 5/3/2025
8.4.3 114 4/26/2025
8.4.2 137 4/25/2025
8.4.1 177 4/20/2025
8.3.2 188 4/20/2025
8.2.11 187 4/20/2025
8.2.10 215 4/13/2025
8.2.9 181 4/6/2025
8.2.8 167 3/30/2025
8.2.7 291 3/23/2025
8.2.6 159 3/16/2025
8.2.5 134 3/2/2025
8.2.4 140 1/26/2025
8.2.3 118 1/9/2025
8.2.2 158 1/9/2025
8.1.4 149 1/1/2025
8.1.3 154 12/31/2024
8.1.2 123 12/26/2024
8.0.8 110 12/23/2024
8.0.7 121 12/23/2024
8.0.6 128 12/22/2024
8.0.5 127 12/21/2024
8.0.4 149 11/17/2024
8.0.3 191 11/17/2024
5.0.21 127 11/16/2024
5.0.20 140 10/20/2024
5.0.19 140 10/19/2024
5.0.18 131 10/19/2024
5.0.17 127 10/13/2024
5.0.16 134 10/12/2024
5.0.6 114 10/6/2024
5.0.5 132 10/2/2024
5.0.4 171 10/1/2024
5.0.3 148 9/22/2024
5.0.2 225 9/16/2024
4.0.9 147 9/15/2024
4.0.8 124 9/8/2024
4.0.7 119 9/8/2024
4.0.6 133 9/8/2024
4.0.5 125 9/8/2024
4.0.2 160 9/8/2024
3.1.27 132 9/8/2024
3.1.26 158 9/7/2024
3.1.25 142 9/7/2024
3.1.24 169 9/7/2024
3.1.23 145 9/1/2024
3.1.22 152 9/1/2024
3.1.21 174 6/16/2024
3.1.20 144 5/31/2024
3.1.19 166 5/20/2024
3.1.18 144 5/10/2024
3.1.17 166 4/12/2024
3.1.16 160 4/4/2024
3.1.15 151 3/22/2024
3.1.11 154 3/19/2024
3.1.10 156 2/16/2024
3.1.7 157 2/11/2024
3.1.6 155 2/11/2024
3.1.5 157 2/11/2024
3.1.4 162 2/11/2024
3.0.18 212 1/29/2024
3.0.17 134 1/29/2024
3.0.16 143 1/27/2024
3.0.15 119 1/27/2024
3.0.8 144 1/27/2024
3.0.7 170 1/13/2024
2.0.18 188 1/4/2024
2.0.17 175 1/1/2024
2.0.16 151 12/27/2023
2.0.15 142 12/26/2023
2.0.14 165 12/26/2023
2.0.13 163 12/25/2023
2.0.11 164 12/23/2023
2.0.10 169 12/16/2023
2.0.9 159 12/15/2023
2.0.8 175 12/14/2023
2.0.7 164 12/13/2023
2.0.5 160 12/11/2023
2.0.4 157 12/11/2023
2.0.2 229 12/10/2023
1.9.2 176 12/10/2023
1.8.4 184 12/10/2023
1.8.3 170 12/9/2023
1.8.2 173 12/9/2023
1.1.28 191 11/27/2023
1.1.27 180 11/26/2023
1.1.26 170 11/18/2023
1.1.25 164 11/17/2023
1.1.24 182 10/30/2023
1.1.23 157 10/29/2023
1.1.22 172 10/22/2023
1.1.21 172 10/17/2023
1.1.20 198 9/16/2023
1.1.19 222 8/27/2023
1.1.18 209 7/31/2023
1.1.17 233 7/16/2023
1.1.16 229 7/9/2023
1.1.15 224 7/8/2023
1.1.14 224 7/5/2023
1.1.13 247 6/29/2023
1.1.12 254 5/1/2023
1.1.11 340 3/5/2023
1.1.10 358 3/3/2023
1.1.9 353 2/28/2023
1.1.7 344 2/26/2023
1.1.6 346 2/26/2023
1.1.5 335 2/26/2023
1.1.3 339 2/25/2023
1.1.0 340 2/25/2023
1.0.108 375 1/23/2023
1.0.107 412 1/13/2023
1.0.106 398 1/13/2023
1.0.105 393 1/12/2023
1.0.104 405 1/11/2023
1.0.103 411 1/7/2023
1.0.102 392 1/6/2023
1.0.101 392 1/6/2023
1.0.100 396 1/2/2023
1.0.99 386 12/30/2022
1.0.98 405 12/28/2022
1.0.97 387 12/28/2022
1.0.95 418 12/3/2022
1.0.94 422 11/24/2022
1.0.93 474 11/1/2022
1.0.92 491 10/30/2022
1.0.91 489 10/27/2022
1.0.90 489 10/26/2022
1.0.89 507 10/26/2022
1.0.88 502 10/23/2022
1.0.86 505 10/18/2022
1.0.85 482 10/18/2022
1.0.84 488 10/16/2022
1.0.83 493 10/15/2022
1.0.82 503 10/15/2022
1.0.81 501 10/10/2022
1.0.80 483 10/6/2022
1.0.79 496 10/6/2022
1.0.78 545 10/2/2022
1.0.77 577 9/27/2022
1.0.76 572 9/25/2022
1.0.75 601 9/23/2022
1.0.74 588 9/23/2022
1.0.73 572 9/10/2022
1.0.72 644 6/29/2022
1.0.71 625 5/29/2022
1.0.70 628 5/29/2022
1.0.69 639 5/28/2022
1.0.68 642 5/24/2022
1.0.66 660 5/1/2022
1.0.64 722 4/17/2022
1.0.63 689 4/15/2022
1.0.62 716 3/24/2022
1.0.61 691 3/20/2022
1.0.55 704 3/13/2022
1.0.54 690 3/11/2022
1.0.53 709 3/11/2022
1.0.52 695 3/11/2022
1.0.51 738 2/26/2022
1.0.50 934 2/9/2022
1.0.49 941 2/1/2022
1.0.48 954 1/25/2022
1.0.47 468 11/29/2021
1.0.46 442 11/27/2021
1.0.45 591 10/12/2021
1.0.44 535 8/23/2021
1.0.43 604 8/10/2021
1.0.42 502 7/21/2021
1.0.41 518 4/4/2021
1.0.40 504 4/4/2021
1.0.39 482 3/29/2021
1.0.38 572 3/27/2021
1.0.37 525 3/15/2021
1.0.36 554 3/14/2021