08 2016 档案
摘要:对于.NET MVC 项目来说,在Controller中对应的Action方法上打上标签: [ValidateInput(false)] 在MSDN上:HttpRequest 类使用输入验证标志来跟踪是否对通过 Cookies、Form 和 QueryString 属性访问的请求集合执行验证。Val
阅读全文
摘要:/// /// 压缩方法 /// public static string CompressString(string str) { string compressString = ""; byte[] compressBeforeByte = Encoding.GetE...
阅读全文