protected void Application_Start() { AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AuthConfig.RegisterAuth(); AuthenticationFactory.SetCurrent(new FormsAuthenticationFactory()); DataAnnotationsModelValidatorProvider.AddImplicitRequiredAttributeForValueTypes = false; ModelBinders.Binders.DefaultBinder = new DevExpress.Web.Mvc.DevExpressEditorsBinder(); }
public static void Initialise() { // LoggerFactory.SetCurrent(new TraceSourceLogFactory()); AuthenticationFactory.SetCurrent(new FormsAuthenticationFactory()); }
public static void Initialise() { AuthenticationFactory.SetCurrent(new FormsAuthenticationFactory()); }