Debugging a service in Silverlight

One of the things that were missing in Silverlight 2 when it came to working with services was the ability to debug them. In the event of an error occurring in the service code, it was not possible to get information about this error in the Silverlight client application. The only information we got when something went wrong was "The remote server returned an error: NotFound" and that was it. The user wasn't provided with any inner exception with a clue about the real error on the service, any messages, and so on. While this was a problem during development, it was a worse a problem that we could not give any indication to the end user on what he/she should do to solve the issue. This was because we could not ...

Get Silverlight 4 Data and Services Cookbook 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.