Is it possible to use ASP.NET application caching in web API?

后端 未结 4 1548
北荒
北荒 2021-01-19 23:15

For example, in a ASP.NET page you would do something like

Cache.Add({...}) and access it via Cache[\"key\"]. In this context, Cache is th

4条回答
  •  遇见更好的自我
    2021-01-19 23:52

    If you are referring to Output caching in ASP.NET Web API. Take a look at this project,

    https://github.com/filipw/AspNetWebApi-OutputCache

提交回复
热议问题