Delen via


Microsoft.AspNetCore.HttpsPolicy Namespace

Contains types that are used to support HTTPS Redirection and HTTP Strict-Transport-Security (HSTS).

Classes

HstsMiddleware

Enables HTTP Strict Transport Security (HSTS) See https://tools.ietf.org/html/rfc6797.

HstsOptions

Options for the Hsts Middleware

HttpsRedirectionMiddleware

Middleware that redirects non-HTTPS requests to an HTTPS URL.

HttpsRedirectionOptions

Options for the HTTPS Redirection Middleware.

Remarks

For more information about requiring HTTPS, see Enforce HTTPS in ASP.NET Core.