Microsoft.AspNetCore.Cors Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains types that are used to enable cross-origin resource sharing (CORS).
Classes
CorsPolicyMetadata |
Metadata that provides a CORS policy. |
DisableCorsAttribute |
An interface which can be used to identify a type which provides metdata to disable cors for a resource. |
EnableCorsAttribute |
An interface which can be used to identify a type which provides metadata needed for enabling CORS support. |
Remarks
For more information about CORS, see Enable CORS with attributes.