aemarcoWebTools 8.2.11

There is a newer version of this package available.
See the version list below for details.
dotnet add package aemarcoWebTools --version 8.2.11
                    
NuGet\Install-Package aemarcoWebTools -Version 8.2.11
                    
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.2.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="aemarcoWebTools" Version="8.2.11" />
                    
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.2.11
                    
#r "nuget: aemarcoWebTools, 8.2.11"
                    
#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.
#addin nuget:?package=aemarcoWebTools&version=8.2.11
                    
Install as a Cake Addin
#tool nuget:?package=aemarcoWebTools&version=8.2.11
                    
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.5 107 6/20/2025
8.4.4 83 5/3/2025
8.4.3 91 4/26/2025
8.4.2 97 4/25/2025
8.4.1 152 4/20/2025
8.3.2 164 4/20/2025
8.2.11 163 4/20/2025
8.2.10 180 4/13/2025
8.2.9 156 4/6/2025
8.2.8 141 3/30/2025
8.2.7 267 3/23/2025
8.2.6 135 3/16/2025
8.2.5 101 3/2/2025
8.2.4 105 1/26/2025
8.2.3 83 1/9/2025
8.2.2 125 1/9/2025
8.1.4 124 1/1/2025
8.1.3 120 12/31/2024
8.1.2 102 12/26/2024
8.0.8 97 12/23/2024
8.0.7 98 12/23/2024
8.0.6 106 12/22/2024
8.0.5 101 12/21/2024
8.0.4 115 11/17/2024
8.0.3 158 11/17/2024
5.0.21 104 11/16/2024
5.0.20 109 10/20/2024
5.0.19 110 10/19/2024
5.0.18 120 10/19/2024
5.0.17 114 10/13/2024
5.0.16 111 10/12/2024
5.0.6 103 10/6/2024
5.0.5 110 10/2/2024
5.0.4 148 10/1/2024
5.0.3 113 9/22/2024
5.0.2 198 9/16/2024
4.0.9 124 9/15/2024
4.0.8 103 9/8/2024
4.0.7 95 9/8/2024
4.0.6 111 9/8/2024
4.0.5 92 9/8/2024
4.0.2 128 9/8/2024
3.1.27 110 9/8/2024
3.1.26 128 9/7/2024
3.1.25 118 9/7/2024
3.1.24 136 9/7/2024
3.1.23 114 9/1/2024
3.1.22 131 9/1/2024
3.1.21 154 6/16/2024
3.1.20 123 5/31/2024
3.1.19 136 5/20/2024
3.1.18 115 5/10/2024
3.1.17 144 4/12/2024
3.1.16 138 4/4/2024
3.1.15 130 3/22/2024
3.1.11 133 3/19/2024
3.1.10 134 2/16/2024
3.1.7 145 2/11/2024
3.1.6 134 2/11/2024
3.1.5 137 2/11/2024
3.1.4 141 2/11/2024
3.0.18 191 1/29/2024
3.0.17 119 1/29/2024
3.0.16 121 1/27/2024
3.0.15 96 1/27/2024
3.0.8 123 1/27/2024
3.0.7 159 1/13/2024
2.0.18 166 1/4/2024
2.0.17 154 1/1/2024
2.0.16 141 12/27/2023
2.0.15 129 12/26/2023
2.0.14 151 12/26/2023
2.0.13 139 12/25/2023
2.0.11 142 12/23/2023
2.0.10 149 12/16/2023
2.0.9 138 12/15/2023
2.0.8 153 12/14/2023
2.0.7 136 12/13/2023
2.0.5 135 12/11/2023
2.0.4 137 12/11/2023
2.0.2 208 12/10/2023
1.9.2 144 12/10/2023
1.8.4 151 12/10/2023
1.8.3 149 12/9/2023
1.8.2 142 12/9/2023
1.1.28 169 11/27/2023
1.1.27 151 11/26/2023
1.1.26 150 11/18/2023
1.1.25 143 11/17/2023
1.1.24 161 10/30/2023
1.1.23 146 10/29/2023
1.1.22 161 10/22/2023
1.1.21 149 10/17/2023
1.1.20 176 9/16/2023
1.1.19 198 8/27/2023
1.1.18 173 7/31/2023
1.1.17 196 7/16/2023
1.1.16 192 7/9/2023
1.1.15 188 7/8/2023
1.1.14 185 7/5/2023
1.1.13 198 6/29/2023
1.1.12 212 5/1/2023
1.1.11 300 3/5/2023
1.1.10 299 3/3/2023
1.1.9 302 2/28/2023
1.1.7 300 2/26/2023
1.1.6 306 2/26/2023
1.1.5 295 2/26/2023
1.1.3 299 2/25/2023
1.1.0 298 2/25/2023
1.0.108 335 1/23/2023
1.0.107 361 1/13/2023
1.0.106 359 1/13/2023
1.0.105 353 1/12/2023
1.0.104 363 1/11/2023
1.0.103 370 1/7/2023
1.0.102 352 1/6/2023
1.0.101 353 1/6/2023
1.0.100 355 1/2/2023
1.0.99 345 12/30/2022
1.0.98 362 12/28/2022
1.0.97 346 12/28/2022
1.0.95 363 12/3/2022
1.0.94 381 11/24/2022
1.0.93 421 11/1/2022
1.0.92 441 10/30/2022
1.0.91 446 10/27/2022
1.0.90 446 10/26/2022
1.0.89 445 10/26/2022
1.0.88 460 10/23/2022
1.0.86 462 10/18/2022
1.0.85 442 10/18/2022
1.0.84 456 10/16/2022
1.0.83 451 10/15/2022
1.0.82 461 10/15/2022
1.0.81 458 10/10/2022
1.0.80 450 10/6/2022
1.0.79 445 10/6/2022
1.0.78 502 10/2/2022
1.0.77 525 9/27/2022
1.0.76 542 9/25/2022
1.0.75 546 9/23/2022
1.0.74 537 9/23/2022
1.0.73 523 9/10/2022
1.0.72 598 6/29/2022
1.0.71 581 5/29/2022
1.0.70 585 5/29/2022
1.0.69 581 5/28/2022
1.0.68 587 5/24/2022
1.0.66 614 5/1/2022
1.0.64 675 4/17/2022
1.0.63 634 4/15/2022
1.0.62 659 3/24/2022
1.0.61 647 3/20/2022
1.0.55 649 3/13/2022
1.0.54 642 3/11/2022
1.0.53 653 3/11/2022
1.0.52 647 3/11/2022
1.0.51 684 2/26/2022
1.0.50 878 2/9/2022
1.0.49 890 2/1/2022
1.0.48 903 1/25/2022
1.0.47 427 11/29/2021
1.0.46 389 11/27/2021
1.0.45 532 10/12/2021
1.0.44 481 8/23/2021
1.0.43 561 8/10/2021
1.0.42 436 7/21/2021
1.0.41 462 4/4/2021
1.0.40 459 4/4/2021
1.0.39 436 3/29/2021
1.0.38 526 3/27/2021
1.0.37 470 3/15/2021
1.0.36 508 3/14/2021