WebConfigurationFileMap Class
Defines the configuration file mappings for a Web application. This class cannot be inherited.
System.Configuration.ConfigurationFileMap
System.Web.Configuration.WebConfigurationFileMap
Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
The WebConfigurationFileMap type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | WebConfigurationFileMap() | Creates a new instance of the WebConfigurationFileMap class. |
![]() | WebConfigurationFileMap(String) | Initializes a new instance of the WebConfigurationFileMap class by using the specified machine configuration file name. |
| Name | Description | |
|---|---|---|
![]() | MachineConfigFilename | Gets or sets the name of the machine configuration file name. (Inherited from ConfigurationFileMap.) |
![]() | VirtualDirectories | Gets the listed collection of virtual directories for a Web application. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a new instance of a WebConfigurationFileMap class with the same value as the existing instance. (Overrides ConfigurationFileMap.Clone().) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The WebConfigurationFileMap class is used to specify the Web configuration file hierarchy. By default, the configuration system uses the IIS metabase to determine the Web file hierarchy. If IIS is not installed, or if an application targets a version of the .NET Framework that is not the latest version that is installed on the server, the WebConfigurationFileMap class provides a means to define a custom hierarchy.
The WebConfigurationFileMap class can specify a single path or multiple paths related to configuration files.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
