The life of an ASP.NET Request
page 3 of 5
by . .
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 20939/ 20

The ASP.NET Worker Process
ASP.NET Worker Process

Now that the ASP.NET Worker Process has the request, it starts using .NET to process it (and here is where you can come in).

First, the request is passed to an HTTPRuntime object which is the start of the Pipeline (which is the above diagram). The HTTPRuntime examines the request and determines things like where it's going . It then creates an HTTPApplication object to process the request. The HTTPApplication essentially passes the request to a series of HTTPModule objects which simply examine and modify the request as necessary (Injection Point #1). Then the HTTPApplication object creates and passes the request (which is in an HTTPContext form) to the HTTPHandlers.

An HTTPHandler is anything that implements the IHTTPHandler interface. For example, the Page class implements IHTTPHandler and in your machine.config file, it says that all requests for .aspx files are passes to the PageHandlerFactory (which in time turns out your Page). This is Injection Point #2.

View Entire Article

User Comments

Title: very useful   
Name: Kaja Moinudeen
Date: 2004-09-29 3:12:44 AM
This articles gives a very good picture ofthe processes.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-07-24 8:11:43 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search