aemarcoWebTools 8.4.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package aemarcoWebTools --version 8.4.5
                    
NuGet\Install-Package aemarcoWebTools -Version 8.4.5
                    
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.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="aemarcoWebTools" Version="8.4.5" />
                    
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.5
                    
#r "nuget: aemarcoWebTools, 8.4.5"
                    
#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.5
                    
#: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.5
                    
Install as a Cake Addin
#tool nuget:?package=aemarcoWebTools&version=8.4.5
                    
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.6 8 7/27/2025
8.4.5 118 6/20/2025
8.4.4 89 5/3/2025
8.4.3 94 4/26/2025
8.4.2 106 4/25/2025
8.4.1 156 4/20/2025
8.3.2 167 4/20/2025
8.2.11 166 4/20/2025
8.2.10 189 4/13/2025
8.2.9 159 4/6/2025
8.2.8 144 3/30/2025
8.2.7 270 3/23/2025
8.2.6 138 3/16/2025
8.2.5 106 3/2/2025
8.2.4 112 1/26/2025
8.2.3 90 1/9/2025
8.2.2 130 1/9/2025
8.1.4 129 1/1/2025
8.1.3 127 12/31/2024
8.1.2 105 12/26/2024
8.0.8 100 12/23/2024
8.0.7 101 12/23/2024
8.0.6 108 12/22/2024
8.0.5 105 12/21/2024
8.0.4 122 11/17/2024
8.0.3 163 11/17/2024
5.0.21 107 11/16/2024
5.0.20 116 10/20/2024
5.0.19 113 10/19/2024
5.0.18 122 10/19/2024
5.0.17 116 10/13/2024
5.0.16 114 10/12/2024
5.0.6 105 10/6/2024
5.0.5 112 10/2/2024
5.0.4 150 10/1/2024
5.0.3 117 9/22/2024
5.0.2 202 9/16/2024
4.0.9 127 9/15/2024
4.0.8 104 9/8/2024
4.0.7 98 9/8/2024
4.0.6 113 9/8/2024
4.0.5 98 9/8/2024
4.0.2 134 9/8/2024
3.1.27 112 9/8/2024
3.1.26 134 9/7/2024
3.1.25 120 9/7/2024
3.1.24 144 9/7/2024
3.1.23 119 9/1/2024
3.1.22 134 9/1/2024
3.1.21 156 6/16/2024
3.1.20 125 5/31/2024
3.1.19 142 5/20/2024
3.1.18 123 5/10/2024
3.1.17 146 4/12/2024
3.1.16 140 4/4/2024
3.1.15 132 3/22/2024
3.1.11 135 3/19/2024
3.1.10 136 2/16/2024
3.1.7 147 2/11/2024
3.1.6 136 2/11/2024
3.1.5 139 2/11/2024
3.1.4 143 2/11/2024
3.0.18 193 1/29/2024
3.0.17 122 1/29/2024
3.0.16 123 1/27/2024
3.0.15 98 1/27/2024
3.0.8 126 1/27/2024
3.0.7 161 1/13/2024
2.0.18 168 1/4/2024
2.0.17 157 1/1/2024
2.0.16 143 12/27/2023
2.0.15 131 12/26/2023
2.0.14 154 12/26/2023
2.0.13 141 12/25/2023
2.0.11 144 12/23/2023
2.0.10 151 12/16/2023
2.0.9 140 12/15/2023
2.0.8 155 12/14/2023
2.0.7 142 12/13/2023
2.0.5 137 12/11/2023
2.0.4 139 12/11/2023
2.0.2 211 12/10/2023
1.9.2 148 12/10/2023
1.8.4 159 12/10/2023
1.8.3 151 12/9/2023
1.8.2 148 12/9/2023
1.1.28 171 11/27/2023
1.1.27 154 11/26/2023
1.1.26 153 11/18/2023
1.1.25 146 11/17/2023
1.1.24 164 10/30/2023
1.1.23 149 10/29/2023
1.1.22 164 10/22/2023
1.1.21 153 10/17/2023
1.1.20 179 9/16/2023
1.1.19 203 8/27/2023
1.1.18 179 7/31/2023
1.1.17 203 7/16/2023
1.1.16 198 7/9/2023
1.1.15 194 7/8/2023
1.1.14 191 7/5/2023
1.1.13 208 6/29/2023
1.1.12 218 5/1/2023
1.1.11 306 3/5/2023
1.1.10 308 3/3/2023
1.1.9 312 2/28/2023
1.1.7 308 2/26/2023
1.1.6 312 2/26/2023
1.1.5 301 2/26/2023
1.1.3 305 2/25/2023
1.1.0 304 2/25/2023
1.0.108 342 1/23/2023
1.0.107 372 1/13/2023
1.0.106 365 1/13/2023
1.0.105 359 1/12/2023
1.0.104 369 1/11/2023
1.0.103 376 1/7/2023
1.0.102 358 1/6/2023
1.0.101 359 1/6/2023
1.0.100 361 1/2/2023
1.0.99 351 12/30/2022
1.0.98 368 12/28/2022
1.0.97 352 12/28/2022
1.0.95 373 12/3/2022
1.0.94 387 11/24/2022
1.0.93 430 11/1/2022
1.0.92 450 10/30/2022
1.0.91 453 10/27/2022
1.0.90 453 10/26/2022
1.0.89 456 10/26/2022
1.0.88 467 10/23/2022
1.0.86 468 10/18/2022
1.0.85 449 10/18/2022
1.0.84 463 10/16/2022
1.0.83 458 10/15/2022
1.0.82 468 10/15/2022
1.0.81 465 10/10/2022
1.0.80 457 10/6/2022
1.0.79 452 10/6/2022
1.0.78 509 10/2/2022
1.0.77 533 9/27/2022
1.0.76 549 9/25/2022
1.0.75 557 9/23/2022
1.0.74 544 9/23/2022
1.0.73 536 9/10/2022
1.0.72 606 6/29/2022
1.0.71 590 5/29/2022
1.0.70 597 5/29/2022
1.0.69 596 5/28/2022
1.0.68 596 5/24/2022
1.0.66 623 5/1/2022
1.0.64 684 4/17/2022
1.0.63 643 4/15/2022
1.0.62 674 3/24/2022
1.0.61 656 3/20/2022
1.0.55 663 3/13/2022
1.0.54 651 3/11/2022
1.0.53 664 3/11/2022
1.0.52 656 3/11/2022
1.0.51 693 2/26/2022
1.0.50 887 2/9/2022
1.0.49 899 2/1/2022
1.0.48 911 1/25/2022
1.0.47 440 11/29/2021
1.0.46 398 11/27/2021
1.0.45 543 10/12/2021
1.0.44 490 8/23/2021
1.0.43 570 8/10/2021
1.0.42 446 7/21/2021
1.0.41 474 4/4/2021
1.0.40 468 4/4/2021
1.0.39 445 3/29/2021
1.0.38 535 3/27/2021
1.0.37 479 3/15/2021
1.0.36 517 3/14/2021