Describe Web application's life cycle.The application life cycle has the following stages:
1. When the user makes a request for accessing application resource, a page the browser sends this request to the web server.
2. After this a unified pipeline will receive the first request and the following events take place: a. Creation of an object of the class ApplicationManager. b. Creation of an an object of the class HostingEnvironment which provides information regarding the resources. c. Compilation of the top level items in the application.
3. The response objects are created. The application objects are created and initialized such as HttpContext, HttpRequest and HttpResponse.
4. An instance of the HttpApplication object is created and assigned to the request.
5. The HttpApplication class processes the request and the different events are raised by this class for processing the request.
|