您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Global.asax.cs 641B

12345678910111213141516171819202122
  1. using System.Web;
  2. using System.Web.Http;
  3. using System.Web.Mvc;
  4. using System.Web.Optimization;
  5. using System.Web.Routing;
  6. using iiie.Logs.DataAccess;
  7. namespace Logs_test
  8. {
  9. public class WebApiApplication : HttpApplication
  10. {
  11. protected void Application_Start()
  12. {
  13. AreaRegistration.RegisterAllAreas();
  14. GlobalConfiguration.Configure(WebApiConfig.Register);
  15. FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
  16. RouteConfig.RegisterRoutes(RouteTable.Routes);
  17. BundleConfig.RegisterBundles(BundleTable.Bundles);
  18. Logger.Config();
  19. }
  20. }
  21. }