using Code.Security; using EnVisage; using PrevuWebAPI.Code.Managers; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Security; using System.Web.SessionState; namespace PrevuWebAPI { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { AreaRegistration.RegisterAllAreas(); Database.SetInitializer(null); HttpConfiguration config = new HttpConfiguration(); WebApiConfig.Register(config); } protected void Session_Start(object sender, EventArgs e) { } protected void Application_BeginRequest(object sender, EventArgs e) { APIClientInformationCallManager _cicMan = new APIClientInformationCallManager(); _cicMan.GetClientID(RESTAuthorizeAttribute.Token()); } protected void Application_AuthenticateRequest(object sender, EventArgs e) { } protected void Application_Error(object sender, EventArgs e) { } protected void Session_End(object sender, EventArgs e) { } protected void Application_End(object sender, EventArgs e) { } } }