ASP.NET 数据库缓存依赖

时间:2011-11-01 09:50:18
【文件属性】:
文件名称:ASP.NET 数据库缓存依赖
文件大小:32KB
文件格式:DOC
更新时间:2011-11-01 09:50:18
asp.net ASP.NET 数据库缓存依赖  在ASP.NET中,Cache类最酷的特点是它能根据各种依赖来良好的控制自己的行为。以文件为基础的依赖是最有用的,文件依赖项是通过使用 Cache.Insert 并提供引用文件的 CacheDependency 对象添加的      Cache.Insert("MyData", Source, new CacheDependency(Server.MapPath("authors.xml")));   

网友评论