CorsMiddleware Class

Definition

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)

Applies to