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. |
Add |
Adds services required for application session state using NCache. |
Set(ISession, String, Object) | Sets a value against the specified key in the session. |
Try |
Tries to get the value against the specified key from session. |
Use |
Adds the NCache Session Middleware to automatically enable session state for the application. |