Esempio n. 1
0
        protected void Application_Start()
        {
            ContainerConfig.RegisterContainer(c =>
            {
                this.container = c;
            });
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            monitor = container.Resolve <IEnvironmentMonitor>();
            monitor.AppStarted();
        }