public void SetCachingEngine(ICacheEngine cacheEngine) { _cacheEngine = cacheEngine; _cacheEngine.AddGroup(new CacheGroupDefinition { ExpireAfter = TimeSpan.FromMinutes(20), Id = "basicSessionManager", RollingExpiration = true }); }
public void SetCachingEngine(ICacheEngine cacheEngine) { _cacheEngine = cacheEngine; _cacheEngine.AddGroup(new CacheGroupDefinition { ExpireAfter = TimeSpan.FromDays(1), Id = RAZOR_CACHE_ID, RollingExpiration = true }); }