摘要: 配置文件 操作方法代码using System; using System.Web.Configuration;public class SiteHelper { static public object GetCache(string CacheId) { object objCache = System.Web.HttpRuntime.Cache.Get(CacheId); // 判断 Cache 是否启用 if (WebConfigurationManager.AppSettings["EnableCache"] ==null ||!Convert.ToBoolean 阅读全文
posted @ 2013-07-27 20:11 Hellen.Li 阅读(772) 评论(0) 推荐(0) 编辑