O'Reilly logo

Silverlight 4 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

Invoking a service that exposes data

When working on a Silverlight project that involves services, WCF is the preferred choice for building a service if we have to create both the service and the Silverlight client application that will use it. Using WCF gives us a complete control over what types will be sent to the client and for each type. We can also specify whether or not a field should be included in the client-side copy of the type.

When we want to build a Silverlight application that works with the data available on the service (perhaps coming from a database or another external service), we need to ask ourselves two questions. How should we design the service that exposes the data so that it can be accessible from Silverlight? And secondly, ...

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