CorsExtensions Class

 

Extension methods for adding CorsMiddleware to an application pipeline.

Namespace:   Owin
Assembly:  Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)

System::Object
  Owin::CorsExtensions

[ExtensionAttribute]
public ref class CorsExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticUseCors(IAppBuilder^, CorsOptions^)

Adds a CORS middleware to your web application pipeline to allow cross domain requests.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: