20 references to AddDistributedMemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
DependencyInjection\TagHelperExtensions.cs (1)
68services.AddDistributedMemoryCache();
Microsoft.AspNetCore.Session.Tests (12)
SessionTests.cs (12)
45services.AddDistributedMemoryCache(); 82services.AddDistributedMemoryCache(); 137services.AddDistributedMemoryCache(); 188services.AddDistributedMemoryCache(); 248services.AddDistributedMemoryCache(); 306services.AddDistributedMemoryCache(); 352services.AddDistributedMemoryCache(); 410services.AddDistributedMemoryCache(); 479services.AddDistributedMemoryCache(); 536services.AddDistributedMemoryCache(); 586services.AddDistributedMemoryCache(); 622services.AddDistributedMemoryCache();
Microsoft.Extensions.Caching.Hybrid.Tests (3)
SampleUsage.cs (1)
17services.AddDistributedMemoryCache();
ServiceConstructionTests.cs (2)
162services.AddDistributedMemoryCache(); 196services.AddDistributedMemoryCache();
Microsoft.Extensions.Caching.Memory (3)
MemoryCacheServiceCollectionExtensions.cs (3)
59/// <see cref="AddDistributedMemoryCache(IServiceCollection)"/> should only be used in single 83/// <see cref="AddDistributedMemoryCache(IServiceCollection)"/> should only be used in single 98services.AddDistributedMemoryCache();
SessionSample (1)
Startup.cs (1)
15services.AddDistributedMemoryCache();