1 write to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelper.cs (1)
46MemoryCache = factory.Cache;
6 references to MemoryCache
HtmlGenerationWebSite (1)
TestCacheTagHelper.cs (1)
29if (MemoryCache.TryGetValue(cacheKey, out var _))
Microsoft.AspNetCore.Mvc.TagHelpers (5)
CacheTagHelper.cs (4)
22/// Prefix used by <see cref="CacheTagHelper"/> instances when creating entries in <see cref="MemoryCache"/>. 70if (MemoryCache.TryGetValue(cacheKey, out Task<IHtmlContent> cachedResult)) 102_ = MemoryCache.Set(cacheKey, tcs.Task, options); 113var entry = MemoryCache.CreateEntry(cacheKey);
CacheTagHelperMemoryCacheFactory.cs (1)
11/// <see cref="CacheTagHelper"/> uses this factory to set its <see cref="CacheTagHelper.MemoryCache"/>.