Microsoft.AspNetCore.Cors
2.1.1
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing.
Commonly used types:
Microsoft.AspNetCore.Cors.DisableCorsAttribute
Microsoft.AspNetCore.Cors.EnableCorsAttribute
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package Microsoft.AspNetCore.Cors -Version 2.1.1
dotnet add package Microsoft.AspNetCore.Cors --version 2.1.1
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Cors --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.AspNetCore.Cors, 2.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.AspNetCore.Cors as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Cors&version=2.1.1
// Install Microsoft.AspNetCore.Cors as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Cors&version=2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
-
.NETStandard 2.0
- Microsoft.AspNetCore.Http.Extensions (>= 2.1.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 2.1.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.1)
- Microsoft.Extensions.Logging.Abstractions (>= 2.1.1)
- Microsoft.Extensions.Options (>= 2.1.1)
Used By
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Microsoft.AspNetCore.Cors:
| Package | Downloads |
|---|---|
|
Microsoft.AspNetCore.Mvc.Cors
ASP.NET Core MVC cross-origin resource sharing (CORS) features.
This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea
|
|
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core.
This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
|
|
|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application.
This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
|