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 exceptions ...

Get Windows® Communication Foundation 4 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.