Where is global ASAX file in asp net?
Just so, what is global ASAX file in asp net?
Global. asax is an optional file which is used to handling higher level application events such as Application_Start, Application_End, Session_Start, Session_End etc. It is also popularly known as ASP.NET Application File. This file resides in the root directory of an ASP. NET-based application.
Hereof, what is the importance of global ASAX in asp net?
Mostly used for application and session start/end events and for global error handling. The Global. asax file is an optional file used to declare and handle application and session-level events and objects for an ASP.NET web site running on an IIS Web Server.
The Global. asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level and session-level events raised by ASP.NET or by HTTP modules. Global. asax is the asp.net application file.