Brato.UserInterface.MvcApplication.Application_Start C# (CSharp) Method

Application_Start() protected method

protected Application_Start ( ) : void
return void
        protected void Application_Start()
        {
            log4net.Config.XmlConfigurator.Configure();

            AreaRegistration.RegisterAllAreas();
            RegisterRoutes(RouteTable.Routes);

            ControllerBuilder.Current.SetControllerFactory(new BaseControllerFactory());

            ModelBinders.Binders.DefaultBinder = new LocalizedModelBinder(CultureInfo.CurrentCulture.Name);
        }