SessionMiddleware Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables the session state for the application.
public ref class SessionMiddleware
C#
public class SessionMiddleware
type SessionMiddleware = class
Public Class SessionMiddleware
- Inheritance
-
SessionMiddleware
Session |
Creates a new SessionMiddleware. |
Invoke(Http |
Invokes the logic of the middleware. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |