Share via


SessionMiddleware Class

Definition

Enables the session state for the application.

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

Constructors

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

Creates a new SessionMiddleware.

Methods

Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to