SessionMiddleware SessionMiddleware SessionMiddleware Class

Definition

Enables the session state for the application.

public class SessionMiddleware
type SessionMiddleware = class
Public Class SessionMiddleware
Inheritance
SessionMiddlewareSessionMiddlewareSessionMiddleware

Constructors

SessionMiddleware(RequestDelegate, ILoggerFactory, IDataProtectionProvider, ISessionStore, IOptions<SessionOptions>) SessionMiddleware(RequestDelegate, ILoggerFactory, IDataProtectionProvider, ISessionStore, IOptions<SessionOptions>) SessionMiddleware(RequestDelegate, ILoggerFactory, IDataProtectionProvider, ISessionStore, IOptions<SessionOptions>)

Creates a new SessionMiddleware.

Methods

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to