Muokkaa

Jaa


<configuration> element

The root element in every configuration file used by the common language runtime and .NET Framework applications.

<configuration>

Syntax

<configuration>
  <!-- Configuration settings -->
</configuration>

Attributes

None

Parent element

None

Child elements

Element Description
<assemblyBinding> Specifies assembly binding policy at the configuration level.
<startup> Settings Schema All elements in the startup settings schema.
<runtime> Settings Schema All elements in the runtime settings schema.
<system.runtime.remoting> Settings Schema All elements in the remoting settings schema.
<system.Net> Settings Schema All elements in the network settings schema.
<cryptographySettings> Settings Schema All elements in the crypto settings schema.
<configuration> Sections Schema All elements in the configuration section settings schema.
Trace and Debug Settings Schema All elements in the trace and debug settings schema.
ASP.NET Configuration Settings Schema All elements in the ASP.NET configuration schema, which includes elements for configuring ASP.NET Web sites and applications. Used in Web.config files.
<webServices> Settings Schema All elements in the Web services settings schema.
Web Settings Schema All elements in the Web settings schema, which includes elements for configuring how ASP.NET works with a host application such as IIS. Used in aspnet.config files.

Remarks

Each configuration file must contain exactly one <configuration> element.

See also