PageRenderTime 42ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Global.asax.cs

https://github.com/mjhuangzk/WeiXinMPSDK
C# | 27 lines | 22 code | 3 blank | 2 comment | 0 complexity | 404b9e90f05bc1b005e5e76122720111 MD5 | raw file
Possible License(s): BSD-2-Clause, BSD-3-Clause
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Http;
  6. using System.Web.Mvc;
  7. using System.Web.Optimization;
  8. using System.Web.Routing;
  9. namespace Senparc.Weixin.MP.Sample
  10. {
  11. // 注意: 有关启用 IIS6 或 IIS7 经典模式的说明,
  12. // 请访问 http://go.microsoft.com/?LinkId=9394801
  13. public class WebApiApplication : System.Web.HttpApplication
  14. {
  15. protected void Application_Start()
  16. {
  17. AreaRegistration.RegisterAllAreas();
  18. WebApiConfig.Register(GlobalConfiguration.Configuration);
  19. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  20. RouteConfig.RegisterRoutes(RouteTable.Routes);
  21. BundleConfig.RegisterBundles(BundleTable.Bundles);
  22. }
  23. }
  24. }