ASP.NET MVC Caching vary by authentication

后端 未结 1 528
长发绾君心
长发绾君心 2020-12-30 06:46

I\'m using ASP.NET Preview 5 (will upgrade soon to Beta) with LINQ2SQL on my recently launched tiny webapp.

I was so proud of my work until Silverlight.net featured

相关标签:
1条回答
  • 2020-12-30 07:07

    You don't have to use the donut caching mechanism. ASP.NET has the VaryByCustom option, that allows you to determine how to vary the caching.

    Check this out for more info: http://aspadvice.com/blogs/ssmith/archive/2007/10/29/VaryByCustom-Caching-By-User.aspx

    Should work fine for ASP.NET MVC.

    0 讨论(0)
提交回复
热议问题