Multiple choice

Which of the following methods of the Global.asax file is called when the first resource is requested from the web server?

  1. Session_Start()

  2. Application_BeginRequest()

  3. Application_Start()

  4. Application_AuthenticateRequest()

  5. Application_AcquireRequestState()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Application_Start() is fired when the first resource is requested from the web server and the web application starts. It allows us to create objects that accessible by all HttpApplication instances.