Info
Version: | 1.0.0 |
Author(s): | Nobly.Extensions.MaintainCorsHeaders |
Last Update: | Wednesday, August 22, 2018 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Nobly.Extensions.MaintainCorsHeaders |
Install
Install-Package Nobly.Extensions.MaintainCorsHeaders
dotnet add package Nobly.Extensions.MaintainCorsHeaders
paket add Nobly.Extensions.MaintainCorsHeaders
Nobly.Extensions.MaintainCorsHeaders Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http.Abstractions(>= 2.1.1)
Usefull in ASPNET CORE API's since returning StatusCodes 500 will strip CORS Headers from responses.
This might get fixed in DotNet Core 2.2
https://github.com/aspnet/Home/issues/2378
Credit goes to
https://github.com/aspnet/Home/issues/2378#issuecomment-354673591.