WebConfigurationFileMap Class
Defines the configuration file mappings for a Web application. This class cannot be inherited.
System.Configuration::ConfigurationFileMap
System.Web.Configuration::WebConfigurationFileMap
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


