Microsoft.AspNetCore.Cors.Infrastructure Namespace

namespace Microsoft.AspNetCore.Cors.Infrastructure

Interfaces

interface ICorsPolicyProvider
A type which can provide a Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy for a particular Microsoft.AspNetCore.Http.HttpContext.
interface ICorsService
A type which can evaluate a policy for a particular Microsoft.AspNetCore.Http.HttpContext.
interface IDisableCorsAttribute
An interface which can be used to identify a type which provides metdata to disable cors for a resource.
interface IEnableCorsAttribute
An interface which can be used to identify a type which provides metadata needed for enabling CORS support.

Classes

class CorsConstants
CORS-related constants.
class CorsMiddleware
An ASP.NET middleware for handling CORS.
class CorsOptions
Provides programmatic configuration for Cors.
class CorsPolicy
Defines the policy for Cross-Origin requests based on the CORS specifications.
class CorsPolicyBuilder
Exposes methods to build a policy.
class CorsResult
Results returned by Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.
class CorsService
Default implementation of Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.
class DefaultCorsPolicyProvider