Class NCacheSessionExtensions
This class contains the Extension methods for ISession.
Inheritance
System.Object
NCacheSessionExtensions
Assembly: Alachisoft.NCache.DistributedCache.dll
Syntax
public static class NCacheSessionExtensions : object
Methods
Name | Description |
---|---|
AddNCacheDistributedCache(IServiceCollection, Action<NCacheConfiguration>) | Adds the NCache cache whose name is specified in the configuration as the standard distributed cache to be used by sessions. |
AddNCacheDistributedCache(IServiceCollection, IConfiguration) | Adds the NCache cache whose name is specified in the configuration as the standard distributed cache to be used by sessions. |
AddNCacheDistributedCacheProvider(IServiceCollection, Action<NCacheProviderConfiguration>) | Adds the NCache Provider to support multiple caches whose names is specified in the configuration as the standard distributed cache to be used by sessions. |
AddNCacheDistributedCacheProvider(IServiceCollection, IConfiguration) | Adds the NCache Provider to support multiple caches whose names is specified in the configuration as the standard distributed cache to be used by sessions. |