System.Web.Http.Cors Namespace

 

Classes

Class Description
System_CAPS_pubclass AttributeBasedPolicyProviderFactory

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

System_CAPS_pubclass CorsHttpRequestMessageExtensions

CORS-related extension methods for HttpRequestMessage.

System_CAPS_pubclass CorsHttpResponseMessageExtensions

CORS-related extension methods for HttpResponseMessage.

System_CAPS_pubclass CorsMessageHandler

Custom DelegatingHandler for handling CORS requests.

System_CAPS_pubclass DisableCorsAttribute

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

System_CAPS_pubclass EnableCorsAttribute

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.

Interfaces

Interface Description
System_CAPS_pubinterface ICorsPolicyProvider

Provides an abstraction for getting the CorsPolicy.

System_CAPS_pubinterface ICorsPolicyProviderFactory

Provides an abstraction for getting the ICorsPolicyProvider.

Return to top