Web application’s life cycle - ASP.NET

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.
Class module and a code module - ASP.NET
ASP.NET - Class module and a code module - ....
Steps to execute a stored procedure from Web Application - ASP.NET
ASP.NET - Steps to execute a stored procedure from Web Application - Create a command object. Set the object’s CommandText property to the name of the stored procedure...
Exception handling in ASP.NET
ASP.NET - Exception handling in ASP.NET - Exception handling correct unusual occurrences and prevent application from getting terminated....
Post your comment