We no longer use the IMemoryCache from DI

This commit is contained in:
John Luo 2018-07-25 21:47:13 -07:00
parent 24f85a9051
commit ebec69292b
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ namespace Microsoft.Extensions.DependencyInjection
throw new ArgumentNullException(nameof(services));
}
services.AddMemoryCache();
services.TryAdd(ServiceDescriptor.Singleton<IResponseCachingPolicyProvider, ResponseCachingPolicyProvider>());
services.TryAdd(ServiceDescriptor.Singleton<IResponseCachingKeyProvider, ResponseCachingKeyProvider>());