Let me give you some insight on how ASP .Net requests are processed by the web server.
When IIS receives an HTTP request it (inetinfo.exe
) invokes the aspnet_isapi.dll
based on the ISAPI Extensions. Then the request would be forwarded to ASP.NET worker process (aspnet_wp.exe
). Worker process uses the HttpRuntime
class to process the incoming request. HttpRuntime
class creates the request and response objects and pushes the request to the pipeline for the further processing.
ASP.NET HTTP pipeline has various Http Modules that can inspect the incoming request and make decisions that affect the internal flow of the request. These modules provide additional services like creating a session and associating with the request; OutputCache which handles returning and caching the page's HTML output; Authentication which attempts to authenticate the user based on the authentication scheme; saving the session state after HTTP handler has
Completed executtion; SessionStateModule etc.,
After passing through the HTTP modules, the request reaches an HTTP handler which generates the output that will be sent back to the client browser. HTTP handlers are the endpoints in the ASP.NET HTTP pipeline. All ASP .Net web pages .aspx are derived System.Web.UI.Page
class which itself is an HttpHandler. Page class implements IHttpHandler
interface.Bravi, if this helps please login to Mark As Answer. | Alert Moderator