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

浙公网安备 33010602011771号