The best way for caching data in MVC 3 and EF 4
Which is the best way to caching data and page's output (both) in ASP.NET MVC 3 and EF 4? Is there any framewor开发者_JS百科k|library to this? Thanks to all;
ASP.NET MVC already provides output caching - check OutputCacheAttribute action filter. EF4 itself doesn't have any caching available but you can check caching wrapper to add caching of query results.
精彩评论