fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.19k stars 1.56k forks source link

[BUG] "Unable to resolve service for type 'Microsoft.Extensions.Caching.Memory.IMemoryCache' #736

Closed AbuHelweh closed 1 year ago

AbuHelweh commented 2 years ago

When I enabled caching I get the below error

"Unable to resolve service for type 'Microsoft.Extensions.Caching.Memory.IMemoryCache' while attempting to activate 'OrchardCore.Localization.LocalizationManager'."}

here is the caching config { "CacheSettings": { "UseDistributedCache": true, "PreferRedis": true, "RedisURL": "redis://default:redispw@localhost:49153"

} }

fretje commented 2 years ago

Has also been reported here => https://github.com/fullstackhero/dotnet-webapi-boilerplate/issues/717

It's a small fix... a PR is welcome! ;-)