
523
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Chapter 26Hosting Namespace
26
The System.Web.Hosting
Namespace
The System.Web.Hosting namespace is not used in ASP.NET web applications;
instead, it provides support for hosting the ASP.NET service outside of Internet
Information Services (IIS) in a custom hosting application (which you would write
using .NET). The two important classes in this namespace are ApplicationHost and
SimpleWorkerRequest. The other classes provide lower-level framework support, and
are not used directly in an application. Figure 26-1 shows the types in this
namespace.
AppDomainFactory
System.Web.Hosting (system.web.dll)
sealed class
This class supports the .NET Framework infrastructure. You do not need to use it
directly in your code.
Figure 26-1
. The System.Web.Hosting namespace
implementsextends
SimpleWorkerRequest
KEY
Abstract ClassClass Interface
Sealed
System System.Web.Hosting
ApplicationHost
Object
System.Web
HttpWorkerRequest
public sealed class AppDomainFactory : IAppDomainFactory {
// Public Constructors
public AppDomainFactory();