Windows Communication Foundation - SPLessons
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

WCF Ria Services

WCF Ria Services

shape Description

RIA stands Rich Internet Application, RAI Service available from .NET Framework 4 and SilverLight 4 onwards which is a Microsoft platform for developing and deploying rich internet application. Silverlight is stable and building the secure applications. It is installed as a browser plug-in and it runs on many platforms like Windows XP and higher, Windows 2000, and Linux.

Implementation

shape Steps

Here, Create a simple RAI Service using web project for easy understanding. Create a New project with web, like below screen: After clicking on OK Button, you should be getting below screen: In above screen, enable the RAI Service Enable option then click on OK.The following screen appears. And add the new item ADO.NET Entity Data Model to the same project. For that, right-click on Project and select New item option then the below screen appears  and select an "ADO.NET Entity Data Model"  like below: Create a model in the EF Designer based on an existing database. One can choose the database connection, settings for the model, and database objects to include in the model. The classes in application interacting are generated from the model like below. After clicking on Next button, the below screen appears. Here, select database and tables. Expand the Tables option and select the tables which are required as shown in below screen: After clicking Finish button, the following screen appears. After adding tables from the database, build application because , it is all about auto-generated code.
By next step, I am going go add the domine service class like below