我正在尝试为实体框架核心实现我的缓存变体。我所做的就是继承然后我尝试将分布式缓存注入到我的CustomQueryCompiler的构造函数中,但是它不能解决这个错误Microsoft.Extensions.Caching.Distributed.IDistributedCache' while attempting to activate 'WebApplication6
我正在使用MvcContrib来完成我的Spring.Net ASP.Net MVC控制器依赖注入。我的依赖项没有被注入到我的CustomAttribute操作过滤器中。如何将我的依赖项放入其中?假设你有一个看起来像这样的ActionFilter:
public class CustomAttribute : ActionFilterAttribute, ICus