Chapter 4. Debugging the HelloWorld WCF Service

In the previous chapters, we built a basic HelloWorld WCF service and hosted it in a few different ways. We have also deployed this service to an on-premise machine and to the cloud. In this chapter, we will learn how to debug WCF services.

In this chapter, we will cover the following topics:

  • Debugging a WCF service from a client application
  • Directly debugging a WCF service
  • Attaching the debugger to a running WCF service process
  • Debugging a WCF service hosted in the cloud

Debugging a WCF service from a client application

Now that we have a fully working WCF service, let's have a look at the debugging options of this service. We will use our original client, HelloWorldClient, to discuss the debugging options; ...

Get WCF Multi-layer Services Development with Entity Framework Fourth Edition 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.