2021
03-05
03-05
C# Cache缓存读取的设置方法
先创建一个CacheHelper.cs类,代码如下:usingSystem;usingSystem.Web;usingSystem.Collections;usingSystem.Web.Caching; publicclassCacheHelper{ ///<summary> ///获取数据缓存 ///</summary> ///<paramname="cacheKey">键</param> publicstaticobjectGetCache(stringcacheKey...
继续阅读 >