79 references to Cache
System.Web (78)
Cache\cache.cs (4)
375HttpRuntime.Cache.Insert(entry.Key, expensiveObject, cacheDependency, absoluteExpiration, slidingExpiration, entry.CacheItemUpdateCallback); 378HttpRuntime.Cache.Remove(entry.Key); 382HttpRuntime.Cache.Remove(entry.Key); 481HttpRuntime.Cache.InternalCache.Insert(
Cache\CacheDependency.cs (2)
518cache = isPublic ? HttpRuntime.Cache.ObjectCache : HttpRuntime.Cache.InternalCache;
Cache\OutputCache.cs (15)
290return (CachedVary) HttpRuntime.Cache.InternalCache.Add(key, cachedVary, null); 295return (ControlCachedVary) HttpRuntime.Cache.InternalCache.Add(key, cachedVary, null); 382if (kernelCacheUrl != null && HttpRuntime.Cache.InternalCache.Get(key) == null) { 453if (HttpRuntime.Cache.InternalCache.Get(depKey) != null) { 471HttpRuntime.Cache.InternalCache.Insert(depKey, new DependencyCacheEntry(oceKey, kernelKey, providerName), new CacheInsertOptions() { 537result = HttpRuntime.Cache.InternalCache.Get(key); 572result = HttpRuntime.Cache.InternalCache.Get(key); 593HttpRuntime.Cache.InternalCache.Remove(key); 646HttpRuntime.Cache.InternalCache.Remove(key); 700HttpRuntime.Cache.InternalCache.Insert(cachedVaryKey, cachedVary, null); 725HttpRuntime.Cache.InternalCache.Insert(fragmentKey, fragment, new CacheInsertOptions() { 741Object d = HttpRuntime.Cache.InternalCache.Add(depKey, new DependencyCacheEntry(fragmentKey, null, provider.Name), 814HttpRuntime.Cache.InternalCache.Insert(cachedVaryKey, cachedVary, null); 839HttpRuntime.Cache.InternalCache.Insert(rawResponseKey, rawResponse, new CacheInsertOptions() { 862Object d = HttpRuntime.Cache.InternalCache.Add(depKey, new DependencyCacheEntry(rawResponseKey, oce.KernelCacheUrl, provider.Name),
Cache\SqlCacheDependency.cs (4)
72HttpRuntime.Cache.InternalCache.Get(GetDependKey(databaseEntryName, tableName))); 80object o = HttpRuntime.Cache.InternalCache.Get(GetDependKey(databaseEntryName, tableName)); 759CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 1000if (HttpRuntime.Cache.InternalCache.Get(GetMoniterKey(database, table)) != null) {
CachedPathData.cs (3)
199CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 424CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 445CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache;
Compilation\BuildResultCache.cs (9)
122BuildResult result = (BuildResult) HttpRuntime.Cache.InternalCache.Get(key); 138HttpRuntime.Cache.InternalCache.Remove(key); 140Debug.Assert(HttpRuntime.Cache.InternalCache.Get(key) == null); 184Assembly a = (Assembly) HttpRuntime.Cache.InternalCache.Get(assemblyKey); 188HttpRuntime.Cache.InternalCache.Insert(assemblyKey, compiledResult.ResultAssembly, 234HttpRuntime.Cache.InternalCache.Insert(key, result, new CacheInsertOptions() { 337Assembly assembly = (Assembly)HttpRuntime.Cache.InternalCache.Get(cacheKey); 347HttpRuntime.Cache.InternalCache.Remove(cacheKey); 531HttpRuntime.Cache.InternalCache.Remove(assemblyKey);
Compilation\ResourceExpressionBuilder.cs (2)
274CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache; 299CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache;
Configuration\HttpCapabilitiesEvaluator.cs (2)
214CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache; 258CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache;
Configuration\MetabaseServerConfig.cs (2)
229cacheInfo = (MapPathCacheInfo)HttpRuntime.Cache.InternalCache.Get(cacheKey); 237object existingEntry = HttpRuntime.Cache.InternalCache.Add(cacheKey, cacheInfo, new CacheInsertOptions() { SlidingExpiration = slidingExpiration });
Configuration\ProcessHostMapPath.cs (2)
227cacheInfo = (MapPathCacheInfo)HttpRuntime.Cache.InternalCache.Get(cacheKey); 235object existingEntry = HttpRuntime.Cache.InternalCache.Add(cacheKey, cacheInfo, new CacheInsertOptions() { SlidingExpiration = slidingExpiration });
Hosting\ApplicationManager.cs (1)
977MapPathCacheInfo cacheInfo = (MapPathCacheInfo)HttpRuntime.Cache.InternalCache.Remove(cacheKey);
Hosting\HostingEnvironment.cs (3)
213var iCache = HttpRuntime.Cache.GetInternalCache(createIfDoesNotExist: false); 214var oCache = HttpRuntime.Cache.GetObjectCache(createIfDoesNotExist: false); 1454get { return HttpRuntime.Cache; }
Hosting\MapPathBasedVirtualPathProvider.cs (2)
89bool? cacheValue = HttpRuntime.Cache.InternalCache.Get(cacheKey) as bool?; 111HttpRuntime.Cache.InternalCache.Insert(cacheKey, exists, new CacheInsertOptions() { Dependencies = dep, SlidingExpiration = slidingExp });
Hosting\SuspendManager.cs (2)
81var iCache = HttpRuntime.Cache.GetInternalCache(createIfDoesNotExist: false); 82var oCache = HttpRuntime.Cache.GetObjectCache(createIfDoesNotExist: false);
HttpContext.cs (1)
1409get { return HttpRuntime.Cache;}
HttpRuntime.cs (2)
2020var oCache = HttpRuntime.Cache.GetObjectCache(createIfDoesNotExist: false); 2021var iCache = HttpRuntime.Cache.GetInternalCache(createIfDoesNotExist: false);
Management\WebEvents.cs (1)
903CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache;
Security\FileAuthorizationModule.cs (3)
257FileSecurityDescriptorWrapper oSecDesc = HttpRuntime.Cache.InternalCache.Get(oCacheKey) as FileSecurityDescriptorWrapper; 270HttpRuntime.Cache.InternalCache.Insert(oCacheKey, oSecDesc, new CacheInsertOptions() { 309sec = HttpRuntime.Cache.InternalCache.Get(oCacheKey);
State\InProcStateClientManager.cs (6)
121InProcSessionState state = (InProcSessionState)HttpRuntime.Cache.InternalCache.Get(key); 227InProcSessionState state = (InProcSessionState)HttpRuntime.Cache.InternalCache.Get(key); 253CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 388object existingEntry = HttpRuntime.Cache.InternalCache.Add(key, state, new CacheInsertOptions() { 409CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 445HttpRuntime.Cache.InternalCache.Get(key);
State\StateRuntime.cs (4)
423content = (CachedContent) HttpRuntime.Cache.InternalCache.Get(key); 524CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 639CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 685item = HttpRuntime.Cache.InternalCache.Get(key);
UI\DataSourceCache.cs (3)
136HttpRuntime.Cache.InternalCache.Remove(key); 154return HttpRuntime.Cache.InternalCache.Get(key); 230HttpRuntime.Cache.InternalCache.Insert(key, data, new CacheInsertOptions() {
UI\WebControls\AdRotator.cs (1)
457CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache;
UI\WebControls\xml.cs (3)
406CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache; 471CacheStoreProvider cacheInternal = System.Web.HttpRuntime.Cache.InternalCache; 515CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache;
Util\AspCompat.cs (1)
303CacheStoreProvider cacheInternal = HttpRuntime.Cache.InternalCache;
System.Web.DynamicData (1)
DynamicData\Util\FileChangeNotifier.cs (1)
57HttpRuntime.Cache.Insert(virtualPath /*key*/, virtualPath /*value*/, cacheDependency,