protected void Application_Start(object sender, EventArgs e) { ConfigService.UseAppConfig(Path.Combine(PathService.ConfigPath, "app.json")); ConfigService.UseDbConfig(Path.Combine(PathService.ConfigPath, "database.json")); EAMApp app = new EAMApp(); app.Run(); LogService.GetLogger(this.GetType().FullName).Info("Application_Start"); }
protected void Application_Error(object sender, EventArgs e) { EAMApp.OnError(); }