Configuring Your Application
Windows Communication Foundation (WCF) uses the .NET configuration system and allows you to configure services at both the machine and application scope.
Configuration settings defined by WCF are located in the <system.serviceModel> section group. For more information about how to configure a WCF service, see the following topics:
Application-defined configurations settings are defined in the <appSettings> section group. For more information about application settings in .NET configuration files, see <appSettings>.
Using the Configuration Editor
The WCF Configuration Editor Tool (SvcConfigEditor.exe) allows administrators and developers to create and modify configuration settings for WCF services using a graphical user interface. With this tool, you can manage settings for WCF bindings, behaviors, services, and diagnostics without directly editing XML configuration files.
Editing Configuration Files in Visual Studio
To edit the configuration file of a WCF service project in Visual Studio, right click it in Solution Explorer and choose the Edit WCF Config context menu item. This launches the Configuration Editor Tool (SvcConfigEditor.exe).
Note: |
---|
If you edit the configuration file of a WCF Web Service project in Visual Studio by right-clicking it in Solution Explorer, notice that the Edit WCF Config context menu item is missing. To workaround this issue, click the Tools menu, and choose WCF Service Config Editor. After that, you can right-click a configuration file and use the Edit WCF Config context menu item. |
See Also
Other Resources
Configuration Editor Tool (SvcConfigEditor.exe)
Configuring Windows Communication Foundation Services
<system.ServiceModel>