Debugging a WCF service hosted in the cloud

In previous sections of this chapter, we learned how to debug WCF services, but the services are all hosted on an on-premise computer. Now, in the last section of this chapter, we will learn how to debug the WCF service, HelloWorldCloud, that we have deployed to the cloud in the last chapter. We will enable the debugging of the service, attach a debugger to the service process, and debug it using Visual Studio on our local computer.

Enabling debugging of the service

To debug a cloud service from a remote machine, debugging functionality must be enabled explicitly when the service is deployed to the cloud. When debugging is enabled for a cloud service, required services (msvsmon.exe, for example) will be ...

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.