资源简介

Web.config 必须配置正确的AppId,AppKey,Redirect_uri
改开放平台AppId必须有授权过微信登录接口

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;

namespace MvcApplication1
{
    // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
    // 请访问 http://go.microsoft.com/?linkId=9394801
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-01-29 13:55  MvcApplication1\
     目录           0  2016-01-29 13:50  MvcApplication1.Tests\
     文件         300  2016-01-29 13:50  MvcApplication1.Tests\App.config
     目录           0  2016-01-29 13:50  MvcApplication1.Tests\bin\
     目录           0  2016-01-29 14:00  MvcApplication1.Tests\bin\Debug\
     文件       45416  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\Microsoft.Web.Infrastructure.dll
     文件       23640  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\Microsoft.Web.Mvc.FixedDisplayModes.dll
     文件       17408  2016-01-29 13:59  MvcApplication1.Tests\bin\Debug\MvcApplication1.dll
     文件       36352  2016-01-29 13:59  MvcApplication1.Tests\bin\Debug\MvcApplication1.pdb
     文件        4096  2016-01-29 14:00  MvcApplication1.Tests\bin\Debug\MvcApplication1.Tests.dll
     文件         300  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\MvcApplication1.Tests.dll.config
     文件        7680  2016-01-29 14:00  MvcApplication1.Tests\bin\Debug\MvcApplication1.Tests.pdb
     文件      391680  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\Newtonsoft.Json.dll
     文件      440219  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\Newtonsoft.Json.xml
     文件      180904  2013-07-09 11:04  MvcApplication1.Tests\bin\Debug\System.Net.Http.dll
     文件      168520  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Net.Http.Formatting.dll
     文件      137872  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Net.Http.Formatting.xml
     文件       16552  2013-07-09 11:04  MvcApplication1.Tests\bin\Debug\System.Net.Http.WebRequest.dll
     文件        5102  2013-10-01 18:07  MvcApplication1.Tests\bin\Debug\System.Net.Http.WebRequest.xml
     文件      148528  2013-10-01 18:07  MvcApplication1.Tests\bin\Debug\System.Net.Http.xml
     文件      138432  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Helpers.dll
     文件       74208  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Helpers.xml
     文件      323240  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Http.dll
     文件       73384  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Http.WebHost.dll
     文件       10071  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Http.WebHost.xml
     文件      379561  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Http.xml
     文件      507048  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Mvc.dll
     文件      847872  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Mvc.xml
     文件      266944  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Razor.dll
     文件      365160  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.Razor.xml
     文件       41152  2016-01-29 13:50  MvcApplication1.Tests\bin\Debug\System.Web.WebPages.Deployment.dll
............此处省略286个文件信息

评论

共有 条评论