How a web browser displays an ASP.Net page when we enter a Url in a web browser?
Web browser to http.sys
The web browser sends the request to the server where the Url web page is hosted. On the server there is a driver called http.sys that manages all the http requests.
http.sys to IIS
The http.sys driver then forwards the request to the web server (usually IIS) listening on some port (usually 80).
IIS to ASP.Net ISAPI (aspnet_isapi.dll)
The IIS determines the ISAPI extension of the request. To make it simple, it checks the file name extension and calls the mapped dll. For aspx it calls aspnet_isapi.dll and for asp it calls asp.dll. These ISAPI dlls are configurable in IIS.
aspnet_isapi.dll
aspnet_isapi.dll now takes care of the request and creates an Application Domain. Within Application Domain an HTTPRuntime object is created. Further objects that it creates are self explanatory in the diagram below.
Web browser to http.sys
The web browser sends the request to the server where the Url web page is hosted. On the server there is a driver called http.sys that manages all the http requests.
http.sys to IIS
The http.sys driver then forwards the request to the web server (usually IIS) listening on some port (usually 80).
IIS to ASP.Net ISAPI (aspnet_isapi.dll)
The IIS determines the ISAPI extension of the request. To make it simple, it checks the file name extension and calls the mapped dll. For aspx it calls aspnet_isapi.dll and for asp it calls asp.dll. These ISAPI dlls are configurable in IIS.
aspnet_isapi.dll
aspnet_isapi.dll now takes care of the request and creates an Application Domain. Within Application Domain an HTTPRuntime object is created. Further objects that it creates are self explanatory in the diagram below.
No comments:
Post a Comment