O'Reilly logo

ASP.NET Web API by Joydip Kanjilal

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

Implementing a sample application

In this section, we will implement a sample application that illustrates how you can design and implement a WCF 4.5 RIA Service and then consume it using Silverlight 5. When you create a Silverlight application, you can check the Enable WCF RIA Services checkbox. This will ensure that an RIA services link is created, when you eventually build the complete solution, the client-side code will be generated for the domain services and the shared code.

To get started using WCF 4.5 RIA Services in Silverlight 5, follow these simple steps:

  1. Open Visual Studio 2013 IDE.
  2. Click on File and then New Project.
  3. Select Silverlight from the templates displayed, and save it with a Name:, as shown in the following screenshot:
  4. Next, ...

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