docs.microsoft.com Open in urlscan Pro
2600:1400:d:489::353e  Public Scan

Submitted URL: http://go.microsoft.com/fwlink/?LinkId=42127
Effective URL: https://docs.microsoft.com/en-ca/dotnet/framework/configure-apps/file-schema/
Submission: On September 12 via api from CA — Scanned from CA

Form analysis 0 forms found in the DOM

Text Content

Skip to main content


This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security
updates and technical support.

Download Microsoft Edge More info

Table of contents Exit focus mode

Read in English Save
Table of contents Read in English Save Feedback Edit

Twitter LinkedIn Facebook Email
Table of contents


CONFIGURATION FILE SCHEMA FOR .NET FRAMEWORK

 * Article
 * 05/25/2022
 * 2 minutes to read
 * 10 contributors




IN THIS ARTICLE

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 Configure 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
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
Elements that specify which version of the common language runtime to use.

Runtime Settings Schema
Elements that configure assembly binding and runtime behavior.

Network Settings Schema
Elements that specify how the .NET Framework connects to the internet.

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

Configuration Sections Schema
Elements used to create and use configuration sections for custom settings.

Trace and Debug Settings Schema
Elements that specify trace switches and listeners.

Compiler and Language Provider Settings Schema
Elements that specify compiler configuration for available language providers.

Application Settings Schema
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
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.


RELATED SECTIONS

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.









FEEDBACK

Submit and view feedback for

This product This page
View all page feedback

Theme
 * Light
 * Dark
 * High contrast

 * 
 * Previous Version Docs
 * Blog
 * Contribute
 * Privacy & cookies
 * Terms of Use
 * Trademarks
 * © Microsoft 2022


IN THIS ARTICLE




Theme
 * Light
 * Dark
 * High contrast

 * 
 * Previous Version Docs
 * Blog
 * Contribute
 * Privacy & cookies
 * Terms of Use
 * Trademarks
 * © Microsoft 2022