O'Reilly logo

Professional Visual Studio® 2010 by Chris Anderson, Michael Minutillo, David Gardner, Nick Randolph

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

Chapter 35. Wcf Ria Services

WHAT'S IN THIS CHAPTER?

  • Understanding WCF RIA Services

  • Creating a domain service

  • Exposing data

  • Consuming WCF RIA Services in Silverlight

In Chapter 31 you saw how WCF provided a standardized means of communication in a technology-agnostic manner. WCF RIA Services (commonly referred to as just RIA Services) is a layer on top of WCF that provides a prescriptive pattern and framework for designing data-driven applications that consume data from a server. WCF RIA Services currently target Silverlight applications, but with a view to support additional presentation technologies. This chapter looks at how to use RIA Services to create an end-to-end Silverlight application.

GETTING STARTED

RIA Services is currently most closely associated with and focused toward Silverlight for the client platform, so you will start by creating a Silverlight project. You will find a Business Application template (as shown in Figure 35-1 under the Silverlight category), which will create all the solution structure required to start with RIA Services (a Silverlight project, an ASP.NET web application, and the RIA Services link between the two).

Figure 35-1

Figure 35-1. Figure 35-1

This creates a Silverlight project and an ASP.NET project — with the structure of the ASP.NET project shown in Figure 35-2.

Figure 35-2. Figure 35-2

The ASP.NET project already supports and implements some basic functionality ...

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