Wiley Expert WSS 3.0 and MOSS 2007 Programming 978-0-470-38137-3 User Manual
Product codes
978-0-470-38137-3
The SharePoint 2007
Architecture
SharePoint 2007 is an extension of ASP.NET and IIS. This chapter walks through the main
architectural components of IIS and ASP.NET and shows you how these components are extended
to add support for SharePoint functionalities.
architectural components of IIS and ASP.NET and shows you how these components are extended
to add support for SharePoint functionalities.
Because IIS is one of the many options for hosting ASP.NET, the discussion begins with the
coverage of the ASP.NET hosting environment where HTTP worker requests and runtime classes
are discussed. Next, the chapter covers IIS concepts such as web sites and application pools
followed by discussions of the related SharePoint object model classes. The ASP.NET HTTP
Runtime Pipeline and the SharePoint extensions to this pipeline are discussed in depth. You ’ ll also
learn about the ASP.NET dynamic compilation model and the role it plays in SharePoint.
coverage of the ASP.NET hosting environment where HTTP worker requests and runtime classes
are discussed. Next, the chapter covers IIS concepts such as web sites and application pools
followed by discussions of the related SharePoint object model classes. The ASP.NET HTTP
Runtime Pipeline and the SharePoint extensions to this pipeline are discussed in depth. You ’ ll also
learn about the ASP.NET dynamic compilation model and the role it plays in SharePoint.
ASP.NET Hosting Environment
One of the great architectural characteristics of the ASP.NET Framework is its isolation from its
hosting environment, which allows you to run your ASP.NET applications in different hosting
scenarios such as IIS 5.0, IIS 5.1, IIS 6.0, IIS 7.0, or even a custom managed application. This section
discusses these architectural aspects of the ASP.NET Framework as well as the most common
hosting scenario, IIS.
hosting environment, which allows you to run your ASP.NET applications in different hosting
scenarios such as IIS 5.0, IIS 5.1, IIS 6.0, IIS 7.0, or even a custom managed application. This section
discusses these architectural aspects of the ASP.NET Framework as well as the most common
hosting scenario, IIS.
Hosting ASP.NET
As mentioned, ASP.NET can be hosted in different environments, such as IIS 5.0, IIS 6.0, IIS 7.0, or
even a custom managed application such as a console application. Hosting ASP.NET in a given
environment involves two major components:
even a custom managed application such as a console application. Hosting ASP.NET in a given
environment involves two major components:
Worker request class. This is a class that directly or indirectly inherits from the
HttpWorkerRequest abstract base class. As you ’ ll see later, an ASP.NET component named
HttpRuntime uses the worker request class to communicate with the underlying
environment. All worker request classes implement the HttpWorkerRequest API,
HttpWorkerRequest abstract base class. As you ’ ll see later, an ASP.NET component named
HttpRuntime uses the worker request class to communicate with the underlying
environment. All worker request classes implement the HttpWorkerRequest API,
❑
c01.indd 1
c01.indd 1
9/20/08 6:49:26 AM
9/20/08 6:49:26 AM
COPYRIGHTED MATERIAL