
520
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Chapter 25Configuration Namespace
25
The System.Web.
Configuration Namespace
The System.Web.Configuration namespace includes a few miscellaneous types used in
ASP.NET configuration with the web.config file; AuthenticationMode, FormsAuthPassword-
Format, and FormsProtectionEnum are all involved in ASP.NET security services. It also
provides a ClientTargetSectionHandler class, which provides the basic functionality for
processing tags in the web.config file, and HttpCapabilitiesBase, which stores a collec-
tion of client browser information used by the System.Web.HttpBrowserCapabilities class.
Figure 25-1 shows the types in this namespace.
If you’ve explored the machine.config file, you have probably noticed that there
are many other types referenced there that don’t appear in this class library refer-
ence or the MSDN (including configuration types like HttpCapabilitiesSectionHandler and
AuthenticationConfigHandler). These private types aren’t available to the client
programmer and are part of the low-level ASP.NET infrastructure.
AuthenticationMode
System.Web.Configuration (system.web.dll)
serializable
enum
This enumeration can be used to specify the type of ASP.NET authentication. It is not
used in ASP.NET code, but it is used internally by the ASP.NET runtime. You can
indicate the AuthenticationMode ...