Debugging the HelloWorld WCF service

Now that we have a fully working WCF service, let us have a look at the debugging options of this service. We will use our original client HelloWorldClient to discuss the debugging options, so in the following sections whenever you see the client, the client program, or the client application, please treat it as HelloWorldClient.

Debugging from the client application

The first and most common scenario is to debug from the client program. This means that you start a client program in debug mode and then step into your WCF service.

Starting the debugging process

Follow these steps to start the debugging process from the client application:

  1. Change the client program's configuration file to call HelloWorldService

Get WCF 4.5 Multi-Layer Services Development with Entity Framework now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.