Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

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

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

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.

WCF Configuration Schema
ms731734.Caution(en-us,VS.100).gifCaution:
You should protect WCF configuration sections in your application configuration files (app.config) with appropriate Access Control Lists (ACL) to prevent any potential security threats. For example, you should make sure that only the appropriate people can access or modify the security settings on application bindings, or the service model section of the configuration file for a service.

In This Section

<system.serviceModel>
Describes the ServiceModel element.

<system.serviceModel.activation>
Configures the SMSvcHost.exe tool.

<system.runtime.serialization>
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.




Build Date: 2011-02-07
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.