上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: /// /// 格式化日期 /// /// 格式化规则 /// public JsonConverter DateForamt(string foramt) { Newtonsoft.Js... 阅读全文
posted @ 2015-10-17 15:15 伤心木乃伊 阅读(613) 评论(0) 推荐(0)
摘要: //接收POST过来的数据System.IO.Stream s = Request.InputStream;int count = 0;byte[] buffer = new byte[1024];StringBuilder builder = new StringBuilder();while (... 阅读全文
posted @ 2015-10-17 14:16 伤心木乃伊 阅读(319) 评论(0) 推荐(0)
摘要: 1,Fiddler42,路由器建立镜像之后 使用wireshark.exe 阅读全文
posted @ 2015-08-02 22:09 伤心木乃伊 阅读(148) 评论(0) 推荐(0)
摘要: private void GetImg(){if (Request.Files.Count < 1){return;}var imgup = Request.Files[0];string[] imgsize = Request["imgsize"].Split('&');int x = Conve... 阅读全文
posted @ 2015-07-27 13:50 伤心木乃伊 阅读(895) 评论(0) 推荐(0)
摘要: //填充预览图片 function adpter(file, upfile) { var imgName = new Date().getTime() + file.name.substr(file.name.lastIndexOf('.')); ... 阅读全文
posted @ 2015-07-27 11:37 伤心木乃伊 阅读(389) 评论(0) 推荐(0)
摘要: 最近做个微信项目发现css3在微信内部浏览器中和其他浏览有些区别 做个小小笔记.job { display: -webkit-box; display: flexbox; -webkit-box-pack: center; ... 阅读全文
posted @ 2015-07-12 15:21 伤心木乃伊 阅读(297) 评论(0) 推荐(0)
摘要: 方式一使用JavaScriptSerializervar serializer = new JavaScriptSerializer(); var obj = serializer.Deserialize>(data); string accessToken; ... 阅读全文
posted @ 2015-06-13 08:57 伤心木乃伊 阅读(383) 评论(0) 推荐(0)
摘要: 小数据宽域可以使用jsonp,但是大数据跨域必须post那么有以下2种方式1,传统方式 动态生成formvar url = ''var $iframe = $(""); var $form = $("").attr("action", url); ... 阅读全文
posted @ 2015-01-14 15:29 伤心木乃伊 阅读(296) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2014-12-24 10:36 伤心木乃伊 阅读(8) 评论(0) 推荐(0)
摘要: /// /// JSON反序列化 /// public static T JsonDeserialize(string jsonString) { DataContractJsonSerializer ... 阅读全文
posted @ 2014-12-02 16:47 伤心木乃伊 阅读(270) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页