System.Web.Http.Cors
CORS-related extension methods for .
Enables the support for CORS.
The .
Enables the support for CORS.
The .
The default .
httpConfiguration
Gets the from the .
The .
The .
httpConfiguration
Gets the from the .
The .
The .
httpConfiguration
Sets the on the .
The .
The .
httpConfiguration or corsEngine
Sets the on the .
The .
The .
httpConfiguration or corsPolicyProviderFactory
An implementation of that returns the from the controller or action attribute.
Initializes a new instance of the class.
Gets or sets the default .
The default .
Gets the for the request.
The .
The request.
request
CORS-related extension methods for .
Gets the for a given request.
The .
The .
request
CORS-related extension methods for .
Writes the CORS headers on the response.
The .
The .
response or corsResult
Custom for handling CORS requests.
Initializes a new instance of the class.
The .
httpConfiguration
Handles the preflight request specified by CORS.
The
The request.
The cors request context.
The cancellation token.
request or corsRequestContext
Handles the actual CORS request.
The .
The .
The .
The .
request or corsRequestContext
Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.
Returns . The task object representing the asynchronous operation.
The HTTP request message to send to the server.
A cancellation token to cancel operation.
This class defines an attribute that can be applied to an action or a controller to disable CORS.
Initializes a new instance of the class.
Gets the CORS policy asynchronously.
The newly created task for this operation.
The request.
The cancellation token assigned for this task.
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.
Initializes a new instance of the class.
Comma-separated list of origins that are allowed to access the resource. Use "*" to allow all.
Comma-separated list of headers that are supported by the resource. Use "*" to allow all. Use null or empty string to allow none.
Comma-separated list of methods that are supported by the resource. Use "*" to allow all. Use null or empty string to allow none.
Initializes a new instance of the class.
Comma-separated list of origins that are allowed to access the resource. Use "*" to allow all.
Comma-separated list of headers that are supported by the resource. Use "*" to allow all. Use null or empty string to allow none.
Comma-separated list of methods that are supported by the resource. Use "*" to allow all. Use null or empty string to allow none.
Comma-separated list of headers that the resource might use and can be exposed. Use null or empty string to expose none.
Gets the headers that the resource might use and can be exposed.
Gets the headers that are supported by the resource.
Gets the methods that are supported by the resource.
Gets the origins that are allowed to access the resource.
Gets or sets the number of seconds the results of a preflight request can be cached.
Gets or sets a value indicating whether the resource supports user credentials in the request.
Provides an abstraction for getting the .
Gets the .
The .
The request.
The cancellation token.
Provides an abstraction for getting the .
Gets the for the request.
The .
The request.
Category names traced by the default CORS tracing implementation.
The trace category for CORS-related events.