Skip to main content

Posts

Showing posts from June 26, 2018

ASP.NET MVC Learning 3 : Global.asax File

The Global.asax file is called as the ASP.NET application file, which contains the events related to Application and Session level The file will be positioned in the root level of the Web Application. Adding this file to the application is not mandatory, if you want to handle the Application events or session events then you can use the file The following are the events available in the file,         protected void Application_Start( object sender, EventArgs e)         {            // Triggered when the application starts, the logs to the event handler, initializing singleton objects may be written here         }         protected void Session_Start( object sender, EventArgs e)         {         }         protected void Application_BeginRequest( object sender, EventArgs e)         {         }         protected void Application_AuthenticateRequest( object sender, EventArgs e)         {         }         protected void A