Esempio n. 1
0
 protected void Application_Start(object sender, EventArgs e)
 {
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundes(BundleTable.Bundles);
     IOCConfig.RegisterContainers(ControllerBuilder.Current);
     IOCConfig.RegisterFilters();
 }
Esempio n. 2
0
 protected void Application_End(object sender, EventArgs e)
 {
     IOCConfig.DisposeContainers();
 }