diff --git a/src/Microsoft.AspNetCore.ResponseCaching/ResponseCachingServicesExtensions.cs b/src/Microsoft.AspNetCore.ResponseCaching/ResponseCachingServicesExtensions.cs index ef6f815..865bb7c 100644 --- a/src/Microsoft.AspNetCore.ResponseCaching/ResponseCachingServicesExtensions.cs +++ b/src/Microsoft.AspNetCore.ResponseCaching/ResponseCachingServicesExtensions.cs @@ -25,7 +25,6 @@ namespace Microsoft.Extensions.DependencyInjection throw new ArgumentNullException(nameof(services)); } - services.AddMemoryCache(); services.TryAdd(ServiceDescriptor.Singleton()); services.TryAdd(ServiceDescriptor.Singleton());