O'Reilly logo

Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook by Balaji Kithiganahalli

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

Creating a REST consumer

In this recipe, we will use the SharePoint REST APIs to retrieve data from the SharePoint list to display in a Windows application.

Getting ready

You need to have completed the previous recipes and understood the REST calls that were made in the previous recipes.

How to do it...

In order to create a REST consumer, adhere to the following steps:

  1. Open Visual Studio 2010 and create a Windows Forms Application project.
  2. Name the project RESTConsumer.
  3. Visual Studio will create the necessary files for the Windows project and should bring up the project with an empty form as follows:
    How to do it...
  4. Add a list box and a button as shown in the previous ...

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