Пример #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

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