使用 IMemoryCache 内存中缓存是使用依赖关系注入从应用中引用的服务。 ... public class HomeController : Controller { private IMemoryCache cache; ...
確定! 回上一頁