摘要: HttpRuntime.Cache:用于winfrom 和 webHttpContext.Current.Cache 用于web.NET中Cache有两种调用方式:HttpContext.Current.Cache 和 HttpRuntime.Cache,这两种方式有什么区别呢?我们先看MSDN上的解释: HttpContext.Current.Cache:为当前 HTTP 请求获取Cache对象。 HttpRuntime.Cache:获取当前应用程序的Cache。 我们再用.NET Reflector工具看看HttpContext.Cache和HttpRuntime.Cache的实现:Htt 阅读全文
posted @ 2013-07-30 15:04 V青山绿水 阅读(275) 评论(0) 推荐(0) 编辑