Applies to Silverlight 4 and 5
Getting started with WCF RIA Services is very easy, as the previous recipe showed you. However, the standard template comes with a few disadvantages: there's no easy way to redistribute your services to other applications, and the services have to be in the exact same place as where your Silverlight application is hosted, so they're part of the same assembly and namespace as your webhost, to name a few.
A WCF RIA Services class library solves this problem. In this recipe, we'll learn how to use a WCF RIA Services library for your domain services.
Before getting started, you've got to make sure the correct SDK and assemblies to enable WCF RIA Services are available. ...