10 references to SessionMiddleware
Microsoft.AspNetCore.Session (10)
DistributedSession.cs (1)
52
/// <see cref="
SessionMiddleware
"/> provides a callback that returns <see langword="false"/> if the session was not established
ISessionStore.cs (1)
25
/// <see cref="
SessionMiddleware
"/> provides a callback that returns <see langword="false"/> if the session was not established
SessionMiddleware.cs (3)
28
/// Creates a new <see cref="
SessionMiddleware
"/>.
49
_logger = loggerFactory.CreateLogger<
SessionMiddleware
>();
50
_dataProtector = dataProtectionProvider.CreateProtector(nameof(
SessionMiddleware
));
SessionMiddlewareExtensions.cs (5)
10
/// Extension methods for adding the <see cref="
SessionMiddleware
"/> to an application.
15
/// Adds the <see cref="
SessionMiddleware
"/> to automatically enable session state for the application.
23
return app.UseMiddleware<
SessionMiddleware
>();
27
/// Adds the <see cref="
SessionMiddleware
"/> to automatically enable session state for the application.
37
return app.UseMiddleware<
SessionMiddleware
>(Options.Create(options));