摘要:
老赵同志写的页面缓存片断不错,用着方便,但我感觉在前端调用上有些不便,可以我把他的代码又改了一下,呵呵!老赵代码的调用:Before Rendering:<%= DateTime.Now %><br />Rendering:<%= Html.Cache("Now", null, DateTime.Now.AddSeconds(60), Cache.NoSlidingExpiration, () => { System.Threading.Thread.Sleep(5000); return DateTime.Now; }) %>&l 阅读全文
posted @ 2013-01-24 11:50
张占岭
阅读(1303)
评论(1)
推荐(4)
浙公网安备 33010602011771号