O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a WCF RIA Services class library

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.

Getting ready

Before getting started, you've got to make sure the correct SDK and assemblies to enable WCF RIA Services are available. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required