Chapter 14. Managing Windows Communication Foundation

So far you have built and deployed your WCF service, but what now? It doesn't end here because WCF provides a number of tools and functionalities to assist you in rolling out and deploying your WCF service. You know as well as I do that dealing with distributed applications can be a challenge because work is being processed on multiple computers and possibly at more than one location. It may not even stop there because communication may be taking place across organizations as well.

Chapter 13 briefly mentioned a couple of tools that can assist you in troubleshooting and debugging your WCF service: tracing and message logging. This chapter discusses those two tools in detail as well as some others that make managing, configuring, and troubleshooting your WCF service much easier.

The tools provided by WCF integrate extremely well with some of the Microsoft Windows management tools, providing exceptional debugging and troubleshooting capabilities.

This chapter discusses the following topics:

  • Tracing/Service Trace Viewer

  • Message logging

  • The Service Configuration Editor

  • Windows performance counters

Tracing

Chapter 13 briefly mentioned that WCF provides support for tracing. Tracing allows you to capture and view all types of events. Through these captured events you can possibly pinpoint a problem that led up to an error. This section discusses tracing in WCF and the tools at your disposal to turn on tracing and view/dissect the results.

End-to-End ...

Get Professional WCF Programming: .NET Development with the Windows® Communication Foundation 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.