Configuring a WCF Service

You’ve seen the basics for creating a WCF service. After your service exists, you can edit its configuration to support various clients. This means adding endpoints and related configuration information. Remember, the promise of WCF is that you can create a single service and then optimize it to work with multiple clients. One client might access via HTTP, another through TCP, and yet another with Named Pipes. You can support all of these clients (and more) through configuration.

The WCF Service Library template contains an App.config file. The WCF Service Application contains the file, web.config. Both files define your service configuration. Typically you edit the web.config file using the XML editor in Visual Studio. ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.