ApplicationStart event is available in Global.asax - ASP.NET Introduction

Q.  Application_Start event is available in which file?
- Published on 19 Oct 15

a. Global.asax
b. Local.asax
c. Web.config
d. None of the above

ANSWER: Global.asax
 
Application_Start event is available in Global.asax file. Application_Start event runs only ones when the application started. It is used to serve application-level and session-level events.
The following are some of the important events in the Global.asax file.
• Application_Start
• Session_Start
• Application_BeginRequest
• Application_EndRequest
• Application_Error
• Session_End
• Application_End

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)