As an advanced developer, you probably spend a lot of time handling errors and catch the exceptions in your application. You try to keep all scenarios in mind where something can go wrong, but nevertheless, suddenly your application stops working when one of your most important customers is testing your product. The hardware may be faulty or the service may not be available due to maintenance. Your job is to locate this error and to ensure that it will never occur in a future version.
In this chapter, you will learn how to be prepared for such situations and to collect all necessary information for your software testers. You will learn something about logging in Silverlight, exception handling, and how you can send this information to your bug report system. Furthermore, we will discuss how to separate these aspects from your domain logic.