Global.asax used to write code to respond to ApplicationStart event - State Management System

Q.  Which file is used to write the code to respond to the Application_Start event?
- Published on 28 Jul 15

a. Any ASP.NET web page with an .aspx extension
b. Web.config
c. Global.asax
d. None of the above.

ANSWER: Global.asax
 

    Discussion

  • Raj   -Posted on 30 Sep 15
    Application_Start event is available in Global.aspx file. It is also called as the ASP.NET application file. It cotains different application-level and session-level events.
    Some of the important events in Global.asax file are as follows.
    • Application_Start
    • Application_End
    • Application_Error
    • Session_Start
    • Session_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.)