20 references to AddDistributedMemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
DependencyInjection\TagHelperExtensions.cs (1)
68
services.
AddDistributedMemoryCache
();
Microsoft.AspNetCore.Session.Tests (12)
SessionTests.cs (12)
45
services.
AddDistributedMemoryCache
();
82
services.
AddDistributedMemoryCache
();
137
services.
AddDistributedMemoryCache
();
188
services.
AddDistributedMemoryCache
();
248
services.
AddDistributedMemoryCache
();
306
services.
AddDistributedMemoryCache
();
352
services.
AddDistributedMemoryCache
();
410
services.
AddDistributedMemoryCache
();
479
services.
AddDistributedMemoryCache
();
536
services.
AddDistributedMemoryCache
();
586
services.
AddDistributedMemoryCache
();
622
services.
AddDistributedMemoryCache
();
Microsoft.Extensions.Caching.Hybrid.Tests (3)
SampleUsage.cs (1)
17
services.
AddDistributedMemoryCache
();
ServiceConstructionTests.cs (2)
162
services.
AddDistributedMemoryCache
();
196
services.
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
98
services.
AddDistributedMemoryCache
();
SessionSample (1)
Startup.cs (1)
15
services.
AddDistributedMemoryCache
();