Export (0) Print
Expand All

How to: Add or Remove a RIA Services Link

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This topic describes how to add or remove a WCF RIA Services link between a new Silverlight client application and an existing ASP.NET project.

A RIA Services solution basically consists of client and a server projects that are linked by such a RIA Services link, so adding and removing them is a critical task.

This topic assumes that you have completed the Walkthrough: Creating a RIA Services Solution, Walkthrough: Using the Silverlight Business Application Template, and Walkthrough: Creating a RIA Services Class Library topics, or have equivalent knowledge and an existing RIA Services solution available.

When you create a new Silverlight Business Application project, you can create a new WCF RIA Services Class Library project, or you can select the Enable WCF RIA Services check box in the New Silverlight Application dialog box, and a RIA Services link between the client project and the server project is created automatically.

To add a RIA Services link to an existing solution

  1. Open an existing RIA Services solution.

  2. In Solution Explorer, right-click the Silverlight client project and select Properties.

    The Silverlight tab of the project designer appears.

  3. In the WCF RIA Services link drop-down list, select the server project that you want to use for the middle tier with this client project.

    RIA_ServicesEnableLink

To remove a RIA Services link from an existing solution

  1. In Solution Explorer, right-click the Silverlight client application and select Properties.

    The Silverlight tab of the project designer appears.

  2. In the WCF RIA Services link drop-down list, select <No Project Set>.

    RIA_ServicesDisableLink

See Also

Show:
© 2014 Microsoft