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

Getting data on the client

Applies to Silverlight 4 and 5

In the previous two recipes, we've looked at a few basic RIA Services concepts: the default template and the WCF RIA Services class library template, but we didn't actually fetch or save any data yet.

This recipe will explain what we have to do to design a service using WCF RIA Services to get data from a (database) server to our client (our Silverlight application). It will explain how to create a data store, how to create our first DomainService and query method, and how to call this method from our client. It will also explain how this works, thus giving you an insight into the strengths and ease of using WCF RIA Services.

Getting ready

Before getting started, you've got to make sure ...

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