摘要:
配置文件 操作方法代码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 阅读全文