Info
Version: | 2.0.0 |
Author(s): | Hubert Mijalski |
Last Update: | Wednesday, November 4, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Mijalski/DynamicCorsPolicy |
NuGet Url: | https://www.nuget.org/packages/Mijalski.DynamicCorsPolicy |
Install
Install-Package Mijalski.DynamicCorsPolicy
dotnet add package Mijalski.DynamicCorsPolicy
paket add Mijalski.DynamicCorsPolicy
Mijalski.DynamicCorsPolicy Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Cors(>= 2.2.0)
Tags
This will allow to check CORS policies from eg. database or cache.
Leverages short-circuit evaluation and checks the method only in case of the origin missing from the one configured at startup. Based on default Asp .NET Core CORS package.