O'Reilly logo

WCF 4.0 Multi-tier Services Development with LINQ to Entities by Mike Liu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

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 web configuration file to call HelloWorldService hosted within ASP.NET Development Server. Open the file, app.config, inside the HelloWorldClient project and set the address of the endpoint to this:
    http://localhost:8080/HostDevServer/HelloWorldService.svc
    
  2. In Solution Explorer, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required