11 2015 档案

摘要:创建菜单栏需要用到http的get和post:http://www.cnblogs.com/lswbk/p/4940449.html官方自定义菜单创建接口API:http://mp.weixin.qq.com/wiki/2/88b2bf1265a707c031e51f26ca5e6512.html接... 阅读全文
posted @ 2015-11-12 15:43 就是这么真实 阅读(1651) 评论(0) 推荐(0)
摘要:微信公众号开发官方SDK没有提供.net C#的SDK不过在网上找到了大神写号的SDK:http://weixinsdk.net/forum.php?mod=viewthread&tid=6&extra=page%3D1SDK下载:https://github.com/night-king/weix... 阅读全文
posted @ 2015-11-11 11:48 就是这么真实 阅读(461) 评论(0) 推荐(0)
摘要:官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_2微信支付成功后,微信服务器端回调到/example/ResultNotifyPage.aspx页面。 ResultNotify resultNotify = new ... 阅读全文
posted @ 2015-11-11 10:59 就是这么真实 阅读(1623) 评论(0) 推荐(0)
摘要:官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_1首先要修改/lib/HttpService.cs把Get和Post中的的设置代理服务器代码进行隐藏:修改前:WebProxy proxy = new WebProxy... 阅读全文
posted @ 2015-11-11 10:51 就是这么真实 阅读(6837) 评论(0) 推荐(0)
摘要:第一步:首先配置WxPayConfig /* 微信公众号信息配置 * APPID:绑定支付的APPID(必须配置) * MCHID:商户号(必须配置) * KEY:商户支付密钥,参考开户邮件设置(必须配置) * APPSECRET:公众帐号se... 阅读全文
posted @ 2015-11-11 10:25 就是这么真实 阅读(5684) 评论(0) 推荐(0)
摘要:微信扫码支付官方API:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=6_1.net C# SDK:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=11_1介绍扫... 阅读全文
posted @ 2015-11-11 09:36 就是这么真实 阅读(1291) 评论(0) 推荐(0)
摘要:标题 内容 阅读全文
posted @ 2015-11-10 14:06 就是这么真实 阅读(1132) 评论(0) 推荐(0)
摘要:XmlDocument xmldoc;XmlElement xmlelem; /// /// 创建一个带内容的xml文件 /// public void CreateXml() { xmldoc =... 阅读全文
posted @ 2015-11-09 16:49 就是这么真实 阅读(198) 评论(0) 推荐(0)
摘要:string xmlStr = "1张三"; XmlDocument xDoc = new XmlDocument(); xDoc.LoadXml(xmlStr); XmlNodeList xmlNodeList = xDoc.Se... 阅读全文
posted @ 2015-11-09 16:01 就是这么真实 阅读(307) 评论(0) 推荐(0)
摘要://把一个json字符串转换为DataTablestring user_json="{\"userName\":\"张三\"}";string userName="";DataTable dt = JsonConvert.DeserializeObject("[" + user_json+ "]")... 阅读全文
posted @ 2015-11-09 11:48 就是这么真实 阅读(530) 评论(0) 推荐(0)
摘要:WebForm:(假如请求这个页面有get和post两种情况)Request.ServerVariables("Request_Method")="POST"Request.ServerVariables("Request_Method")="GET"Request.RequestType=="PO... 阅读全文
posted @ 2015-11-09 11:40 就是这么真实 阅读(981) 评论(0) 推荐(0)
摘要:get: /// /// GET请求与获取结果 /// public static string HttpGet(string Url, string postDataStr) { HttpWebReq... 阅读全文
posted @ 2015-11-05 18:30 就是这么真实 阅读(1808) 评论(0) 推荐(0)