1 write to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelper.cs (1)
50MemoryCache = factory.Cache;
5 references to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (5)
CacheTagHelper.cs (4)
26/// Prefix used by <see cref="CacheTagHelper"/> instances when creating entries in <see cref="MemoryCache"/>. 74if (MemoryCache.TryGetValue(cacheKey, out Task<IHtmlContent> cachedResult)) 107_ = MemoryCache.Set(cacheKey, tcs.Task, options); 118var entry = MemoryCache.CreateEntry(cacheKey);
CacheTagHelperMemoryCacheFactory.cs (1)
11/// <see cref="CacheTagHelper"/> uses this factory to set its <see cref="CacheTagHelper.MemoryCache"/>.