แก้ไข

แชร์ผ่าน


System.Web.Configuration Namespace

Contains classes that are used to set up ASP.NET configuration.

Classes

AdapterDictionary

Used internally at run time by the configuration system to contain the names of the available adapters used to render server controls on different browsers.

AnonymousIdentificationSection

Configures anonymous identification for users that are not authenticated. This class cannot be inherited.

AssemblyCollection

Represents a collection of AssemblyInfo objects. This class cannot be inherited.

AssemblyInfo

References an assembly to be linked to during compilation of a dynamic resource. This class cannot be inherited.

AuthenticationSection

Configures the authentication for a Web application. This class cannot be inherited.

AuthorizationRule

The AuthorizationRule class allows you to programmatically access and modify the authorization section of a configuration file. This class cannot be inherited.

AuthorizationRuleCollection

Represents a collection of AuthorizationRule objects. This class cannot be inherited.

AuthorizationSection

Configures a Web application authorization. This class cannot be inherited.

BrowserCapabilitiesCodeGenerator

The BrowserCapabilitiesCodeGenerator class is used internally by the aspnet_regbrowsers tool to parse .browser browser definition files and add browsers to the run-time collection of known browsers contained in the BrowserCapabilitiesFactory object.

BrowserCapabilitiesFactory

Provides methods used internally by the configuration system to produce request-specific instances of the HttpBrowserCapabilities class that are publicly accessed through the ASP.NET-intrinsic Request.Browser property.

BrowserCapabilitiesFactoryBase

The BrowserCapabilitiesFactoryBase class is the base class from which BrowserCapabilitiesFactory is derived. It is used internally at run time by the configuration system to create request-specific instances of the HttpCapabilitiesBase class, publicly accessed through the ASP.NET intrinsic Request.Browser property.

BufferModesCollection

A collection of BufferModeSettings objects. This class cannot be inherited.

BufferModeSettings

Configures the ASP.NET event-buffering settings for event providers. This class cannot be inherited.

BuildProvider

Provides functionality to parse a particular file type and generate code during compilation of a dynamic resource. This class cannot be inherited.

BuildProviderCollection

Represents a collection of BuildProvider objects. This class cannot be inherited.

CacheSection

Configures the global cache settings for an ASP.NET application. This class cannot be inherited.

ClientTarget

Defines the alias associated with the target user agent for which ASP.NET server controls should render content. This class cannot be inherited.

ClientTargetCollection

Represents a collection of ClientTarget objects. This class cannot be inherited.

ClientTargetSection

Configures the clientTarget section. This class cannot be inherited.

CodeSubDirectoriesCollection

Represents a collection of CodeSubDirectory objects. This class cannot be inherited.

CodeSubDirectory

References a directory location that is used during compilation of a dynamic resource. This class cannot be inherited.

CompilationSection

Defines configuration settings that are used to support the compilation infrastructure of Web applications. This class cannot be inherited.

Compiler

Defines a compiler that is used to support the compilation infrastructure of Web applications. This class cannot be inherited.

CompilerCollection

Represents a collection of Compiler objects. This class cannot be inherited.

Converter

Represents a configuration element in a configuration file.

ConvertersCollection

Represents a configuration collection that contains references to Converter objects.

CustomError

Configures a CustomError section to map an ASP.NET error code to a custom page. This class cannot be inherited.

CustomErrorCollection

Represents a collection of CustomError objects. This class cannot be inherited.

CustomErrorsSection

Configures the ASP.NET custom errors. This class cannot be inherited.

DeploymentSection

Defines a configuration setting that is typically used on a production server to override application-level settings that are appropriate only on development computers.

EventMappingSettings

Defines the ASP.NET event mapping settings for event providers. This class cannot be inherited.

EventMappingSettingsCollection

Provides a collection of EventMappingSettings objects. This class cannot be inherited.

ExpressionBuilder

Retrieves a dynamic resource during compilation.

ExpressionBuilderCollection

Represents a collection of ExpressionBuilder objects. This class cannot be inherited.

FolderLevelBuildProvider

Represents configuration settings that enable use of the BuildProvider class for specific folders.

FolderLevelBuildProviderCollection

Represents a collection of FolderLevelBuildProvider objects.

FormsAuthenticationConfiguration

Configures an ASP.NET application to use the AuthenticationMode forms modality.

FormsAuthenticationCredentials

Configures user credentials for ASP.NET applications that use form-based authentication.

FormsAuthenticationUser

Configures the user's credentials for Web applications that use forms-based authentication.

FormsAuthenticationUserCollection

Represents a collection of FormsAuthenticationUser objects. This class cannot be inherited.

FullTrustAssembliesSection

Configures a set of full-trust assemblies. This class cannot be inherited.

FullTrustAssembly

Configures a full trust assembly. This class cannot be inherited.

FullTrustAssemblyCollection

Represents a collection of FullTrustAssembly objects. This class cannot be inherited.

GlobalizationSection

Defines configuration settings that are used to support the globalization infrastructure of Web applications. This class cannot be inherited.

HealthMonitoringSection

Configures ASP.NET profiles that determine how health-monitoring events are sent to event providers. This class cannot be inherited.

HostingEnvironmentSection

Defines configuration settings that control the behavior of the application hosting environment. This class cannot be inherited.

HttpCapabilitiesBase

Provides access to detailed information about the capabilities of the client's browser.

HttpCapabilitiesDefaultProvider

The default extension of the HttpCapabilitiesProvider class that is included with ASP.NET.

HttpCapabilitiesProvider

Enables you to customize browser definitions. You can also customize the algorithm that identifies the browser based on information in the incoming HttpRequest.

HttpCapabilitiesSectionHandler

Assists in reading in the <browserCaps> section of a configuration file and creating an instance of the HttpBrowserCapabilities class that contains the capabilities information for the client browser.

HttpConfigurationContext

Supplies current context information to configuration-section handlers in ASP.NET applications.

HttpCookiesSection

Configures properties for cookies used by a Web application.

HttpHandlerAction

Configures an HttpHandlersSection configuration section. This class cannot be inherited.

HttpHandlerActionCollection

Represents a collection of HttpHandlerAction elements. This class cannot be inherited.

HttpHandlersSection

Configures an HTTP handler for a Web application. This class cannot be inherited.

HttpModuleAction

Configures the HttpModulesSection modules. This class cannot be inherited.

HttpModuleActionCollection

Represents a collection of HttpModuleAction objects. This class cannot be inherited.

HttpModulesSection

Configures an HTTP module for a Web application. This class cannot be inherited.

HttpRuntimeSection

Configures the ASP.NET HTTP runtime. This class cannot be inherited.

IdentitySection

Configures the identity of a Web application. This class cannot be inherited.

IgnoreDeviceFilterElement

Configures a device filter element.

IgnoreDeviceFilterElementCollection

Represents a collection of IgnoreDeviceFilterElement objects. This class cannot be inherited.

LowerCaseStringConverter

Provides support to convert an object to a lowercase string. This class cannot be inherited.

MachineKeySection

Defines the configuration settings that control the key generation and algorithms that are used in encryption, decryption, and message authentication code (MAC) operations in Windows Forms authentication, view-state validation, and session-state application isolation. This class cannot be inherited.

MachineKeyValidationConverter

Provides methods for converting MachineKeyValidation objects to and from strings.

MembershipSection

Defines configuration settings to support the infrastructure for configuring and managing membership details. This class cannot be inherited.

NamespaceCollection

Contains a collection of namespace objects. This class cannot be inherited.

NamespaceInfo

Contains a single configuration namespace reference, similar to the Import directive. This class cannot be inherited.

OutputCacheProfile

Configures the output cache profile that can be used by the application pages. This class cannot be inherited.

OutputCacheProfileCollection

Represents a collection of OutputCacheProfile objects. This class cannot be inherited.

OutputCacheSection

Configures the output cache for a Web application. This class cannot be inherited.

OutputCacheSettingsSection

Configures the output cache settings for application pages. This class cannot be inherited.

PagesSection

Provides programmatic access to the pages section of the configuration file. This class cannot be inherited.

PartialTrustVisibleAssembliesSection

Configures a set of partial-trust assemblies. This class cannot be inherited.

PartialTrustVisibleAssembly

Configures a partial-trust assembly. This class cannot be inherited.

PartialTrustVisibleAssemblyCollection

Represents a collection of PartialTrustVisibleAssembly objects. This class cannot be inherited.

PassportAuthentication

Configures Passport-based authentication in ASP.NET applications.

ProcessModelSection

Configures the ASP.NET process model settings on an Internet Information Services (IIS) Web server. This class cannot be inherited.

ProfileGroupSettings

Provides programmatic access to the group subsection of the profiles configuration file section.

ProfileGroupSettingsCollection

Contains a set of ProfileGroupSettings objects.

ProfilePropertySettings

The ProfilePropertySettings class provides a way to programmatically access and modify the profiles section of a configuration file. This class cannot be inherited.

ProfilePropertySettingsCollection

Contains a set of ProfilePropertySettingsCollection objects.

ProfileSection

The ProfileSection class provides a way to programmatically access and modify the profile section of a configuration file. This class cannot be inherited.

ProfileSettings

Configures the ASP.NET event profiles. This class cannot be inherited.

ProfileSettingsCollection

Contains a collection of ProfileSettings objects. This class cannot be inherited.

ProtocolCollection

Represents a configuration element that contains a collection of protocols.

ProtocolElement

Represents a protocol element in the Web services configuration file.

ProtocolsConfigurationHandler

Represents a configuration handler for protocols.

ProtocolsSection

Represents the protocols section of the Web configuration file.

ProvidersHelper

Provides methods for creating provider instances, either singly or in a batch.

RegexWorker

Used internally at run time by BrowserCapabilitiesFactory and BrowserCapabilitiesCodeGenerator to parse request data and identify the browser.

RemoteWebConfigurationHostServer

Used internally at run time to support accessing configuration data remotely.

RoleManagerSection

Defines configuration settings that are used to support the role management infrastructure of Web applications. This class cannot be inherited.

RootProfilePropertySettingsCollection

Acts as the top of a two-level named hierarchy of ProfilePropertySettingsCollection collections.

RuleSettings

Configures the ASP.NET event rules. This class cannot be inherited.

RuleSettingsCollection

A collection of RuleSettings objects. This class cannot be inherited.

ScriptingAuthenticationServiceSection

Represents the configuration section for authentication service settings. This class cannot be inherited.

ScriptingJsonSerializationSection

Represents a jsonSerialization configuration section in the scripting element of the configuration file. This class cannot be inherited.

ScriptingProfileServiceSection

Represents the configuration section for profile-service settings. This class cannot be inherited.

ScriptingRoleServiceSection

Represents the configuration section for role-service settings.

ScriptingScriptResourceHandlerSection

Represents a ScriptingScriptResourceHandler configuration section in the <scripting> element of the configuration file. This class cannot be inherited.

ScriptingSectionGroup

Represents the configuration section for scripting settings. This class cannot be inherited.

ScriptingWebServicesSectionGroup

Represents a group of related sections in a configuration file.

SecurityPolicySection

Defines configuration settings that are used to support the security infrastructure of a Web application. This class cannot be inherited.

SessionPageStateSection

Configures the sessionPageState section. This class cannot be inherited.

SessionStateSection

Configures the session state for a Web application.

SiteMapSection

Defines configuration settings that are used to support the infrastructure for configuring, storing, and rendering site navigation. This class cannot be inherited.

SqlCacheDependencyDatabase

Configures the SQL cache dependencies databases for an ASP.NET application. This class cannot be inherited.

SqlCacheDependencyDatabaseCollection

Represents a collection of SqlCacheDependencyDatabase objects. This class cannot be inherited.

SqlCacheDependencySection

Configures the SQL cache dependencies for an ASP.NET application. This class cannot be inherited.

SystemWebCachingSectionGroup

Configures the caching group within a configuration file. This class cannot be inherited.

SystemWebExtensionsSectionGroup

Represents a group of related sections in a configuration file. This class cannot be inherited.

SystemWebSectionGroup

Allows the user to programmatically access the system.web group of the configuration file. This class cannot be inherited.

TagMapCollection

Contains a collection of TagMapInfo objects.

TagMapInfo

Contains a single configuration tag remapping statement. This class cannot be inherited.

TagPrefixCollection

Contains a collection of TagPrefixInfo objects.

TagPrefixInfo

Defines a configuration element containing tag-related information.

TraceSection

Configures the ASP.NET trace service. This class cannot be inherited.

TransformerInfo

Specifies a custom class that extends the WebPartTransformer class for use by Web Part connections.

TransformerInfoCollection

Contains a collection of TransformerInfo objects. This class cannot be inherited.

TrustLevel

Defines the mapping of specific security levels to named policy files. This class cannot be inherited.

TrustLevelCollection

Contains a collection of TrustLevel objects. This class cannot be inherited.

TrustSection

Configures the code-access security level that is applied to an application. This class cannot be inherited.

UrlMapping

Maps a URL that is displayed to users to the URL of a page in your Web application. This class cannot be inherited.

UrlMappingCollection

Represents a collection of UrlMapping objects. This class cannot be inherited.

UrlMappingsSection

Provides programmatic access to the urlMappings configuration section. This class cannot be inherited.

UserMapPath

Maps configuration file virtual paths to physical paths.

VirtualDirectoryMapping

Specifies a custom virtual-directory hierarchy for a Web application. This class cannot be inherited.

VirtualDirectoryMappingCollection

Contains a collection of VirtualDirectoryMapping objects. This class cannot be inherited.

WebConfigurationFileMap

Defines the configuration file mappings for a Web application. This class cannot be inherited.

WebConfigurationManager

Provides access to configuration files as they apply to Web applications.

WebContext

Manages the path context for the current Web application. This class cannot be inherited.

WebControlsSection

Configures the webControls section. This class cannot be inherited.

WebPartsPersonalization

Allows you to specify the personalization provider and set personalization authorizations. This class cannot be inherited.

WebPartsPersonalizationAuthorization

Provides programmatic access to the authorization section contained in the webParts section of the configuration. This class cannot be inherited.

WebPartsSection

Provides programmatic access to the webParts configuration file section. This class cannot be inherited.

XhtmlConformanceSection

Configures the xhtmlConformance section. This class cannot be inherited.

Interfaces

IConfigMapPath

Provides access to the mapping between configuration-file virtual and physical paths.

IConfigMapPathFactory

Maps the configuration file virtual and physical paths.

IRemoteWebConfigurationHostServer

Used internally to support remote access to configuration data.

Enums

AsyncPreloadModeFlags

Specifies the mode for asynchronous requests.

AuthenticationMode

Specifies the authentication mode to use in a Web application.

AuthorizationRuleAction

Specifies the type of authorization to apply when accessing a resource.

CustomErrorsMode

Specifies the values for the custom errors modality.

CustomErrorsRedirectMode

Specifies values for how the URL of the original request is handled when a custom error page is displayed.

FcnMode

Specifies behavior for file change notification (FCN) in the application.

FormsAuthPasswordFormat

Defines the encryption format for storing passwords.

FormsProtectionEnum

Defines the type of encryption, if any, to use for cookies.

MachineKeyCompatibilityMode

Specifies which encryption methods can be used.

MachineKeyValidation

Specifies the hashing algorithm that ASP.NET uses for forms authentication and for validating view state data, and for out-of-process session state identification.

MembershipPasswordCompatibilityMode

Enumerates the password-compatibility modes for ASP.NET membership.

PagesEnableSessionState

Used to determine session-state activation for a single Web page or an entire Web application.

ProcessModelComAuthenticationLevel

Specifies the level of authentication for DCOM security.

ProcessModelComImpersonationLevel

Specifies the authentication level for COM security.

ProcessModelLogLevel

Specifies the event types to be logged to the event log.

ProfileGuidedOptimizationsFlags

Specifies the optimization mode for an application deployment environment.

SerializationMode

Determines the serialization method used for a ProfilePropertySettings object.

TicketCompatibilityMode

Defines whether to use Coordinated Universal Time (UTC) or local time for the ticket expiration date for forms authentication.

TraceDisplayMode

Specifies the order in which trace messages are displayed.

WebApplicationLevel

Specifies the path level of a Web-application configuration file.

XhtmlConformanceMode

Specifies the authentication mode to use in a Web application.