摘要: ###一、Startup类中添加服务 public void ConfigureServices(IServiceCollection services) { services.AddMemoryCache(); } ###二、在控制器中使用 IMemoryCache using Microsoft 阅读全文
posted @ 2021-02-01 15:01 清和时光 阅读(553) 评论(0) 推荐(0) 编辑