CorsMiddleware Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A middleware for handling CORS.
public ref class CorsMiddleware
public class CorsMiddleware
type CorsMiddleware = class
Public Class CorsMiddleware
- Inheritance
-
CorsMiddleware
Constructors
CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy, ILoggerFactory) |
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy) |
Obsolete.
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory, String) |
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory) |
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, String) |
Obsolete.
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider) |
Obsolete.
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ILoggerFactory, String) |
Instantiates a new CorsMiddleware. |
CorsMiddleware(RequestDelegate, ICorsService, ILoggerFactory) |
Instantiates a new CorsMiddleware. |
Methods
Invoke(HttpContext, ICorsPolicyProvider) | System.Object.Invoke(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider) |
Invoke(HttpContext) | System.Object.Invoke(Microsoft.AspNetCore.Http.HttpContext) |