What is the best way to lock cache in asp.net?

前端 未结 10 739
悲&欢浪女
悲&欢浪女 2020-11-27 09:33

I know in certain circumstances, such as long running processes, it is important to lock ASP.NET cache in order to avoid subsequent requests by another user for that resourc

10条回答
  •  半阙折子戏
    2020-11-27 09:59

    I've wrote a library that solves that particular issue: Rocks.Caching

    Also I've blogged about this problem in details and explained why it's important here.

提交回复
热议问题