Exemple #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
            RegisterStructureMap.Execute();
        }
Exemple #2
0
        protected void Application_Start()
        {
#if DEBUG
            HibernatingRhinos.Profiler.Appender.EntityFramework.EntityFrameworkProfiler.Initialize();
#endif
            RegisterStructureMap.Execute();
            Bootstrapper.Start()
            .FromServiceLocator()
            .Execute();
        }
Exemple #3
0
 public static void Start()
 {
     RegisterStructureMap.Execute();
     new Bootstrapper().Execute();
 }