according to the Distributed caching in ASP.NET Core
It is said I can using Microsoft.Extensions.Caching.StackExchangeRedis
and using services.AddStackExchangeRedisCache
in ConfigureServices
However the namespace Microsoft.Extensions.Caching.StackExchangeRedis
not exists on dotnet core 3.0.
there is only using Microsoft.Extensions.Caching.Memory;
and using Microsoft.Extensions.Caching.Distributed;
exists
https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed?view=aspnetcore-3.0#prerequisites
The Prerequisits
section higher up in the linked document state you need to add a reference to the package Microsoft.Extensions.Caching.StackExchangeRedis
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With