dotnet核心中的CacheInterceptionBehavior等效项

时间:2017-04-07 01:18:12

标签: caching dependency-injection asp.net-core .net-core interceptor

场景:应用程序有一个长时间运行的方法来返回数据并构建缓慢变化维度的最终实体。在以前版本的.net中,可以使用CacheInterceptionBehavior设置拦截和缓存数据,同时向Unity注册接口。

是否有相应的方法在.net核心中做类似的事情?

0 个答案:

没有答案