コード例 #1
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
            RegisterStructureMap.Execute();
        }
コード例 #2
0
ファイル: Global.asax.cs プロジェクト: lequynhnhu/SpeakerNet
        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();
 }