What happens from the point an HTTP request is received on a TCP/IP port up until the Page fires the On_Load event?
Swati Agarwal
Request is received by the server, the server determines the ISAPI extension to handle the request based on filename extension. In case this is first request, it will create an app domain for maintaining isolation with this and other applications running. then it creates hosting environment which will also create the objects like HttpContext, HttpRequest and HttpResponse. After this the HTTPApplication object is created . Afterwards the events in the global.asax which is the class inherited from the HTTPApplication object fires in the order defined in the link above.
Brifely to say.Request is received by the server, the server determines the ISAPI extension to handle the request based on filename extension. In case this is first request, it will create an app domain for maintaining isolation with this and other applications running. then it creates hosting environment which will also create the objects like HttpContext, HttpRequest and HttpResponse. After this the HTTPApplication object is created . Afterwards the events in the global.asax which is the class inherited from the HTTPApplication object fires in the order defined in the link above.