首页> 外文期刊>MSDN Magazine >Implement Custom Cache Dependencies in ASP.NET 1.x
【24h】

Implement Custom Cache Dependencies in ASP.NET 1.x

机译:在ASP.NET 1.x中实现自定义缓存依赖项

获取原文
获取原文并翻译 | 示例

摘要

One of the most compelling improvements that ASP.NET brought to ASP programming was the Cache object. The Cache has some similarities to the Application object and is a container of global data (as opposed to session-specific data) that features a fair number of innovative characteristics. At its core, the ASP.NET Cache is a sealed data container class built around a hashtable and defined in the System. Web. Caching namespace. The Cache object is central to the whole ASP.NET infrastructure. Various runtime components use the ASP.NET Cache to store working data. For example, the output of cached pages and controls is stored there. Likewise, applications that keep session state in memory use the ASP.NET Cache to store it. The Cache object is made up of two independent data stores―a public and a private cache. The private cache is reserved for system components and is accessed through a private API. The public cache is the one that is available to developers. In order to enable you to loop through the public store, the Cache class implements the IEnumerable interface.
机译:Cache对象是ASP.NET带给ASP编程的最引人注目的改进之一。缓存与Application对象有一些相似之处,并且是具有大量创新特征的全局数据(与特定于会话的数据相对)的容器。 ASP.NET缓存的核心是一个密封的数据容器类,它围绕哈希表构建并在系统中定义。网络。缓存名称空间。缓存对象是整个ASP.NET基础结构的中心。各种运行时组件使用ASP.NET缓存来存储工作数据。例如,缓存的页面和控件的输出存储在此处。同样,将会话状态保留在内存中的应用程序也使用ASP.NET缓存来存储它。缓存对象由两个独立的数据存储组成-公共缓存和私有缓存。专用缓存是为系统组件保留的,可以通过专用API访问。公共缓存是可供开发人员使用的缓存。为了使您能够遍历公共存储,Cache类实现了IEnumerable接口。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号