Microsoft.AspNetCore.Cors 2.2.0

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

This package was built from the source code at https://github.com/aspnet/CORS/tree/f05b0e792d2361be214947798857ef3eac77825d

Install-Package Microsoft.AspNetCore.Cors -Version 2.2.0
dotnet add package Microsoft.AspNetCore.Cors --version 2.2.0
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Cors --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.AspNetCore.Cors, 2.2.0"
#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.2.0

// Install Microsoft.AspNetCore.Cors as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Cors&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

Version History

Version Downloads Last updated
2.2.0 0 06.02.2022
2.1.1 0 06.02.2022
2.0.3 0 06.02.2022
2.0.2 0 06.02.2022
2.0.0 0 06.02.2022
1.0.0 0 06.02.2022