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 ...

Get Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.