Class NCacheSessionExtensions
This class contains Extension methods for ISession.
Inheritance
System.Object
NCacheSessionExtensions
Assembly: Alachisoft.NCache.CoreSessionStoreProvider.dll
Syntax
public static class NCacheSessionExtensions : object
Methods
Name | Description |
---|---|
AddNCacheSession(IServiceCollection, Action<NCacheSessionConfiguration>) | Adds services required for application session state using NCache. |
AddNCacheSession(IServiceCollection, IConfigurationSection) | Adds services required for application session state using NCache. |
Set(ISession, String, Object) | Sets a value against the specified key in the session. |
TryGetValue(ISession, String, out Object) | Tries to get the value against the specified key from session. |
UseNCacheSession(IApplicationBuilder) | Adds the NCache Session Middleware to automatically enable session state for the application. |