• 大小: 33.32M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 实例  C#  微信  c  源码  

资源简介

VS2012 MVC4 完全不涉及任何业务,适用于任何微信接口开发项目!

实现了:自定义菜单、图文消息回复、接收消息、扫描二维码、登陆等常用接口

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Web;
using System.Web.script.Serialization;

namespace sohovan.com.common
{
    /// 
    /// 通用方法类
    /// 

    public class CommonMethod
    {
        #region Post/Get提交调用抓取
        /// 
        /// Post/get 提交调用抓取
        /// 

        /// 提交地址
        /// 参数
        /// string
        public static string WebRequestPostOrGet(string sUrl string sParam)
        {
            byte[] bt = System.Text.Encoding.UTF8.GetBytes(sParam);

            Uri uriurl = new Uri(sUrl);
            HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(uriurl);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-07-24 08:28  weixin-master\
     文件         378  2015-07-24 08:28  weixin-master\.gitattributes
     文件         574  2015-07-24 08:28  weixin-master\.gitignore
     文件         190  2015-07-24 08:28  weixin-master\README.md
     文件    20136225  2015-07-24 08:28  weixin-master\sohovan.com.wxweb.zip
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\Content\
     文件         204  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\Content\App.config.transform
     文件         204  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\Content\Web.config.transform
     文件     1416507  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\Entityframework.5.0.0.nupkg
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\
     文件     1118296  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\Entityframework.dll
     文件     1124681  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\Entityframework.xml
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\zh-Hans\
     文件       71256  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\zh-Hans\Entityframework.resources.dll
     文件      472694  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net40\zh-Hans\Entityframework.xml
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\
     文件     1116760  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\Entityframework.dll
     文件     1120077  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\Entityframework.xml
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\zh-Hans\
     文件       71256  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\zh-Hans\Entityframework.resources.dll
     文件      472694  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\lib\net45\zh-Hans\Entityframework.xml
     目录           0  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\
     文件       24418  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\Entityframework.PS3.psd1
     文件       15960  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\Entityframework.PowerShell.Utility.dll
     文件      134744  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\Entityframework.PowerShell.dll
     文件       24428  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\Entityframework.psd1
     文件       29601  2015-07-24 08:28  weixin-master\sohovan.com.wxweb\packages\Entityframework.5.0.0\tools\Entityframework.psm1
............此处省略670个文件信息

评论

共有 条评论