Microsoft.AspNetCore.Cors.Infrastructure Namespace

Classes

CorsConstants

CORS-related constants.

CorsMiddleware

A middleware for handling CORS.

CorsOptions

Provides programmatic configuration for Cors.

CorsPolicy

Defines the policy for Cross-Origin requests based on the CORS specifications.

CorsPolicyBuilder

Exposes methods to build a policy.

CorsResult

Results returned by ICorsService.

CorsService

Default implementation of ICorsService.

DefaultCorsPolicyProvider

Interfaces

ICorsPolicyProvider

A type which can provide a CorsPolicy for a particular HttpContext.

ICorsService

A type which can evaluate a policy for a particular HttpContext.

IDisableCorsAttribute

An interface which can be used to identify a type which provides metdata to disable cors for a resource.

IEnableCorsAttribute

An interface which can be used to identify a type which provides metadata needed for enabling CORS support.