Esempio n. 1
0
 protected void Application_Start(object sender, EventArgs e)
 {
     AreaRegistration.RegisterAllAreas();
     AutoMapperConfig.RegisterMappings();
     UnityConfig.RegisterComponents();
     GlobalConfiguration.Configure(WebApiConfig.Register);
     ApplicationPreload.StartJobProcessor();
     TlsHelper.AllowTls12();
     XmlConfigurator.Configure(new FileInfo(Server.MapPath("~/Web.config")));
 }
Esempio n. 2
0
 protected void Application_End(object sender, EventArgs e)
 {
     ApplicationPreload.StopJobProcessor();
 }