Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12. Advanced WCF RIA Services > Handling errors on the server

Handling errors on the server

Applies to Silverlight 4, 5

Keeping track of what happens to your services, especially if something goes wrong, is essential for each business application. In this recipe, you'll learn how you can log errors when they happen on the server, and where you should write the code to do this.

Getting ready

Before getting started, you've got to make sure the correct SDK and assemblies to enable WCF RIA Services are available. Please refer to the recipe Setting up a data solution to work with WCF RIA Services from Chapter 11, Using WCF RIA Services, for more information.

We're starting from a provided starter solution, which you can find in Chapter 12\Handling_Errors_Starter.

The complete solution can be found in Chapter 12\Handling_Errors_Completed.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint