08 2016 档案

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