// Global.asax handlers and events: http://sandblogaspnet.blogspot.com/2008/03/methods-in-globalasax.html #region ASP.NET Handlers #region Application Handlers protected void Application_Start(object sender, EventArgs e) { ScriptResource.RegisterJQuery(AppConfig.WebSite.JQueryVersion); ScriptResource.RegisterBoostrap(AppConfig.WebSite.BoostrapVersion); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); SetupDataAccess(); InitLoggedUsersTrack(); InitEnrolledUsersService(); }
// Global.asax handlers and events: http://sandblogaspnet.blogspot.com/2008/03/methods-in-globalasax.html #region ASP.NET Handlers protected void Application_Start(object sender, EventArgs e) { ScriptResource.RegisterJQuery(WebConfigurationManager.AppSettings["jquery"]); ScriptResource.RegisterBoostrap(WebConfigurationManager.AppSettings["boostrap"]); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); SetupDataAccess(); #if DEBUG DataAccessService dataService; Application.Lock(); dataService = Application["DataAccess"] as DataAccessService; Application.UnLock(); dataService.NonQuery("DELETE FROM Usuarios WHERE email = '*****@*****.**'"); #endif }