Chapter 3. Making Applications and Services Robust

After completing this chapter, you will be able to:

  • Explain how the WCF runtime can convert common language runtime exceptions into SOAP fault messages to transmit exception information from a WCF service.

  • Use the FaultContract attribute in a service to define strongly typed exceptions as SOAP faults.

  • Catch and handle SOAP faults in a client application.

  • Describe how to configure a WCF service to propagate information about unanticipated exceptions to client applications for debugging purposes.

  • Describe how to detect the Faulted state in a WCF service host application and how to recover from this state.

  • Explain how to detect and log unrecognized messages sent to a service.

Detecting and handling ...

Get Windows® Communication Foundation 4 Step by Step 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.