コード例 #1
0
 protected void Application_Start()
 {
     DashboardConfig.RegisterService(RouteTable.Routes);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     ASPxWebControl.CallbackError += Application_Error;
     ControllerBuilder.Current.SetControllerFactory(typeof(CustomControllerFactory));
 }
        protected void Application_Start()
        {
            DashboardConfig.RegisterService(RouteTable.Routes);
            AreaRegistration.RegisterAllAreas();
            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);

            ModelBinders.Binders.DefaultBinder = new DevExpress.Web.Mvc.DevExpressEditorsBinder();

            DevExpress.Web.ASPxWebControl.CallbackError += Application_Error;
        }