Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Web.Http.Cors Namespace

 

ClassDescription
System_CAPS_pubclassAttributeBasedPolicyProviderFactory

An implementation of ICorsPolicyProviderFactory that returns the ICorsPolicyProvider from the controller or action attribute.

System_CAPS_pubclassCorsHttpRequestMessageExtensions

CORS-related extension methods for HttpRequestMessage.

System_CAPS_pubclassCorsHttpResponseMessageExtensions

CORS-related extension methods for HttpResponseMessage.

System_CAPS_pubclassCorsMessageHandler

Custom DelegatingHandler for handling CORS requests.

System_CAPS_pubclassDisableCorsAttribute

This class defines an attribute that can be applied to an action or a controller to disable CORS.

System_CAPS_pubclassEnableCorsAttribute

This class defines an attribute that can be applied to an action or a controller to enable CORS. By default, it allows all origins, methods and headers.

InterfaceDescription
System_CAPS_pubinterfaceICorsPolicyProvider

Provides an abstraction for getting the CorsPolicy.

System_CAPS_pubinterfaceICorsPolicyProviderFactory

Provides an abstraction for getting the ICorsPolicyProvider.

Return to top
Show: