Wiley Professional ASP.NET 2.0 Server Control and Component Development 978-0-471-79350-2 Benutzerhandbuch

Produktcode
978-0-471-79350-2
Seite von 10
The ASP.NET 2.0 Framewor k
This chapter begins with the following definition of the ASP.NET Framework: 
ASP.NET is a Framework that processes requests for Web resources. 
In other words, ASP.NET is a request processing architecture or framework. This description of the
Framework prompts you to think, “If ASP.NET is a request processing architecture or framework,
every component of the framework must exist for one reason and one reason only; that is, to con-
tribute one way or another to the process of handling requests for Web resources.”
Think of the components of the ASP.NET Framework in terms of their roles in the overall request
handling process. Instead of asking, “What does this component do?” you should ask, “What does
this component do to help process the request?
Therefore, this chapter follows a request for a resource from the time it arrives in the Web server
(IIS) all the way through the ASP.NET request processing architecture to identify components of
the framework that participate or contribute directly or indirectly to the request handling process.
However, to keep the discussions simple and focused, the details of these components are left to
the following chapters. In short, the main goal of this chapter is to help you understand the big
picture.
Following the Request
To make the discussion more concrete, consider the request for a simple Web page named
Default.aspx
, shown in Listing 1-1. This page consists of a textbox and a button. The user enters
a name and clicks the button to post the page back to the server where the name is processed.
04_793507 ch01.qxp  6/29/06  7:20 PM  Page 1
COPYRIGHTED MATERIAL