阅读背景:

Is it correct aspnetcore way? Service & Dependency Injection

来源:互联网 

so i want to create some service that accesses external API, and i want to cache common requests from the API inside of that service, it depends on 3 other services, but i want to give it its own instance of cache, MemoryDistributedCache might later be changed for something elseso i want to create some service that accesses




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: