-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot resolve parameter 'Volo.Abp.Caching.IDistributedCache #2839
Comments
Are you injecting |
My bad , Solved by adding [DependsOn(typeof(AbpCachingModule))] |
It will be great if this was added to documentation @hikalkan |
Startup templates already has this dependency, so didn't need to document. However, you are right, anyone may start with an empty project and want to use the caching module. Created an issue: #2842 |
Found the generated redis key as follows
|
I am trying to use Redis cache in .net core 3.1 , I am injecting the interface "IDistributedCache" in App service constructor , but I am receiving the below error :
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Castle.Proxies.RequestStatusAppServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Caching.IDistributedCache
1[System.Collections.Generic.List
1Module Configuration
The text was updated successfully, but these errors were encountered: