SessionServiceCollectionExtensions SessionServiceCollectionExtensions SessionServiceCollectionExtensions Class

Definition

Extension methods for adding session services to the DI container.

public static class SessionServiceCollectionExtensions
type SessionServiceCollectionExtensions = class
Public Module SessionServiceCollectionExtensions
Inheritance
SessionServiceCollectionExtensionsSessionServiceCollectionExtensionsSessionServiceCollectionExtensions

Methods

AddSession(IServiceCollection) AddSession(IServiceCollection) AddSession(IServiceCollection)

Adds services required for application session state.

AddSession(IServiceCollection, Action<SessionOptions>) AddSession(IServiceCollection, Action<SessionOptions>) AddSession(IServiceCollection, Action<SessionOptions>)

Adds services required for application session state.

Applies to