摘要:
首先,添加一个类AuthenticationAttribute,该类继承AuthorizeAttribute,如下: using System.Web; using System.Web.Mvc; namespace Zhong.Web { public class AuthenticationAt 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Web; namespace Zhong.Core { /// /// Cookie操作类 /// public class CookieHelper { private static readonly strin... 阅读全文
摘要:
using ICSharpCode.SharpZipLib.Zip; using System; using System.Collections.Generic; using System.IO; namespace Zhong.Core { /// /// 压缩解压操作类,使用的是SharpZipLib /// public class DCompres... 阅读全文