WCF RIA Services Class Library Template
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Use the WCF RIA Services Class Library template to develop reusable RIA Services code that is likely to be reused by other RIA Services enabled applications that have Silverlight clients.
The WCF RIA Services Class Library template is a specialized template that extends upon the Silverlight Class Library template by adding the references required to enable RIA Services.
Important
|
|---|
|
The most recent Silverlight SDK and WCF RIA Services Toolkit are required to use this template. For information on installing these prerequisites, see Prerequisites for WCF RIA Services. |
For a walkthrough that use this basic template, see the Walkthrough: Creating a RIA Services Class Library topic.
Deploying the Silverlight Application Template
Creating a WCF RIA Service Application
-
Open Visual Studio 2010.
-
Click File, select New, and select Project. The following dialog box appears.
-
Select Silverlight in the left pane, and then select WCF RIA Services Class Library in the right pane. Click OK.
The following assemblies are referenced by this template by default.
-
mscorlib
-
system
-
System.ComponentModel.DataAnnotations
-
System.Core
-
System.Net
-
System.Runtime.Serialization
-
System.ServiceModel
-
System.ServiceModel.DomainServices.Client
-
System.ServiceModel.DomainServices.Client.Web
-
System.ServiceModel.Web.Extensions
-
System.Windows
-
System.Windows.Browser
-
System.Xml
-
Important