Configuration file schema for the .NET Framework

Configuration files are standard XML files that you can use to change settings and set policies for your apps. The .NET Framework configuration schema consists of elements that you can use in configuration files to control the behavior of your apps. The table of contents for this section reflects the schema hierarchy for startup, runtime, network, and other types of configuration settings.

For information about the types, format, and location of configuration files, see the article Configuring Apps. Familiarize yourself with XML if you want to edit the configuration files directly.

Important

XML tags and attributes in configuration files are case-sensitive.

In this section

<configuration> Element Describes the <configuration> element, which is the top-level element for all configuration files.

<assemblyBinding> Element Specifies assembly binding policy at the configuration level.

<linkedConfiguration> Element Specifies a configuration file to include.

Startup Settings Schema Describes the elements that specify which version of the common language runtime to use.

Runtime Settings Schema Describes the elements that configure assembly binding and runtime behavior.

Network Settings Schema Describes the elements that specify how the .NET Framework connects to the Internet.

Cryptography Settings Schema Describes elements that map friendly algorithm names to classes that implement cryptography algorithms.

Configuration Sections Schema Describes the elements used to create and use configuration sections for custom settings.

Trace and Debug Settings Schema Describes the elements that specify trace switches and listeners.

Compiler and Language Provider Settings Schema Describes the elements that specify compiler configuration for available language providers.

Application Settings Schema Describes the elements that enable a Windows Forms or ASP.NET application to store and retrieve application-scoped and user-scoped settings.

App Settings Schema Contains custom application settings, such as file paths, XML Web service URLs, or any other custom configuration information for an application.

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.

Windows Forms Configuration Schema All elements in the Windows Forms application configuration section, which includes customizations such as multi-monitor and high DPI support.

WCF Configuration Schema All elements that enable you to configure WCF service and client applications.

WCF Directive Syntax Describes the @ServiceHost directive, which defines page-specific attributes used by the .svc compiler.

WIF Configuration Schema All elements of the Windows Identity Foundation (WIF) configuration schema.

Remoting Settings Schema Describes the elements that configure client and server applications that implement remoting.

ASP.NET Settings Schema Describes the elements that control the behavior of ASP.NET Web applications.

Web Services Settings Schema Describes the elements that control the behavior of ASP.NET Web services and their clients.

Configuring .NET Framework Apps Describes how to configure security, assembly binding, and remoting in the .NET Framework.