CorsExtensions Class
Inheritance Hierarchy
System.Object
Owin.CorsExtensions
Namespace: Owin
Assembly: Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class CorsExtensions
'Usage
public static class CorsExtensions
[ExtensionAttribute]
public ref class CorsExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type CorsExtensions = class end
public final class CorsExtensions
The CorsExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
UseCors | Adds a CORS middleware to your web application pipeline to allow cross domain requests. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.