Exemple #1
0
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     IsThereAnyNewsAutofac.RegisterDependencies();
     IsThereAnyNewsScheduler.ScheduleRssUpdater();
 }
Exemple #2
0
 protected void Application_Start()
 {
     AntiForgeryConfig.UniqueClaimTypeIdentifier = ClaimTypes.NameIdentifier;
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     IsThereAnyNewsAutofac.RegisterDependencies();
     IsThereAnyNewsScheduler.ScheduleRssUpdater();
 }