Windows Communication Foundation Configuration Schema

Windows Communication Foundation (WCF) configuration elements enable you to configure WCF service and client applications. You can use the Configuration Editor (SvcConfigEditor.exe) to create and modify configuration files for clients and services. Since the configuration files are formatted as XML, you need to be familiar with XML if you want to manually edit them using a text editor. Otherwise, you may run into issues such as an unfound XML element tag or attribute. This is because XML element tags and attributes are case-sensitive.

This section describes all possible values of each configuration item, and how it interacts with other WCF configuration elements. The following map illustrates the WCF configuration schema.

The WCF configuration system is based on the System.Configuration namespace. Therefore, you can use all the standard features provided by the System.Configuration namespace, such as configuration locking, encryption and merging to increase the security of your application and its configuration. For more information on these concepts, see the following topics.

Encrypting Configuration Information

Locking Configuration Settings

In This Section


Describes the ServiceModel element.


Configures the SMSvcHost.exe tool.


The top-level element for setting options when using serializers such as the DataContractSerializer.

Related Sections

Configuring Windows Communication Foundation Applications

Describes how to configure WCF services and clients.

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Community Additions