Sdílet prostřednictvím


<configuration> Element

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

<configuration>

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

Child Elements

Element

Description

<assemblyBinding> Element for <configuration>

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.

Remoting Settings Schema

All elements in the remoting settings schema.

Network Settings Schema

All elements in the network settings schema.

Cryptography 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 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.

XML Web Services 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

Other Resources

Configuration File Schema for the .NET Framework