10. Exception Handling

THE HARSH REALITY of software development is that even carefully written systems break and unanticipated scenarios occur. It’s the job of a good developer to ensure a balance between creating software that prevents problems and software that handles problems as they arise. Distributed service-based systems are no exception. In fact, service-based systems exacerbate the problem by introducing dependencies such as server availability, network conditions, and service version compatibility.

Exceptions are a critical component of a robust system and can be indicators of a variety of situations. For example, a caller may not have provided correct or complete information to a service, a service may have encountered an issue attempting ...

Get Essential Windows Communication Foundation: For .NET Framework 3.5 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.