Class ActiveSessionBuilderExtensions
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
Contains extension methods used to configure middleware for ActiveSession feature
public static class ActiveSessionBuilderExtensions
- Inheritance
-
ActiveSessionBuilderExtensions
- Inherited Members
Methods
- UseActiveSessions(IApplicationBuilder, IMiddlewareFilterSource?)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available.
- UseActiveSessions(IApplicationBuilder, Func<HttpContext, bool>)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available.
- UseActiveSessions(IApplicationBuilder, Func<HttpContext, bool>, string)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available.
- UseActiveSessions(IApplicationBuilder, Func<HttpContext, (bool, string?)>)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available.
- UseActiveSessions(IApplicationBuilder, string, string, TimeSpan)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available.
- UseActiveSessions(IApplicationBuilder, string, TimeSpan)
Adds the ActiveSession midleware to an application middleware pipeline along with a filter defining a scope of HTTP requests, for which an active session will be available. The filter checks the request path against a regular expression passed as a parameter.