Ejemplo n.º 1
0
 protected void Application_Start()
 {
     //移动设备显示模式检测器
     DisplayModeProvider.Instance.Modes.Insert(0, new CustomMobileDisplayMode());
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     FilterConfig.RegisterGlobalFiters(GlobalFilters.Filters);
 }