Esempio n. 1
0
 protected void Application_Start()
 {
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     AreaRegistration.RegisterAllAreas();
     AuthDbConfig.RegisterAdmin();
     ModelBinders.Binders.Add(typeof(Post), new PostModelBinder());
 }
Esempio n. 2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);

            AuthDbConfig.RegisterAdmin();
        }