Data for Silverlight
Add a Reference to the Web Service
The Sample Application > Implement the Client Side > Add a Reference to the Web Service

The first thing to do is add a reference to the Web service we created, so we can invoke it from the client. Complete the following steps:

  1. Right-click the References node in the MasterDetail project and select Add Service Reference.
  2. In the dialog box that follows, click the Discover button. Visual Studio locates the service we added in the previous step.
  3. In the Namespace field, type "DataService." The dialog box looks like this:
  4. Click OK to add the reference.
See Also