Microsoft.AspNetCore.Cors
1.0.0
See the version list below for details.
Install-Package Microsoft.AspNetCore.Cors -Version 1.0.0
dotnet add package Microsoft.AspNetCore.Cors --version 1.0.0
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="1.0.0" />
paket add Microsoft.AspNetCore.Cors --version 1.0.0
#r "nuget: Microsoft.AspNetCore.Cors, 1.0.0"
// Install Microsoft.AspNetCore.Cors as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Cors&version=1.0.0
// Install Microsoft.AspNetCore.Cors as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Cors&version=1.0.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
| Product | Versions |
|---|---|
| .NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
| .NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
| .NET Standard | netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
| .NET Framework | net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
| MonoAndroid | monoandroid |
| MonoMac | monomac |
| MonoTouch | monotouch |
| Tizen | tizen30 tizen40 tizen60 |
| Universal Windows Platform | uap uap10.0 |
| Xamarin.iOS | xamarinios |
| Xamarin.Mac | xamarinmac |
| Xamarin.TVOS | xamarintvos |
| Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.5.1
- Microsoft.AspNetCore.Http.Extensions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Options (>= 1.0.0)
-
.NETStandard 1.3
- Microsoft.AspNetCore.Http.Extensions (>= 1.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.0.0)
- Microsoft.Extensions.Options (>= 1.0.0)
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. |