protected void Application_Start() { CoreContext.Initialize(true); //set dependency resolver var dependencyResolver = new CoreDependencyResolver(); DependencyResolver.SetResolver(dependencyResolver); AreaRegistration.RegisterAllAreas(); RegisterGlobalFilters(GlobalFilters.Filters); RegisterRoutes(RouteTable.Routes); //Database.SetInitializer<Inspiration.DataAccess.ManageContext>( // new DropCreateDatabaseAlways<Inspiration.DataAccess.ManageContext>()); }