Quickstart (WCF Data Services)

This quickstart helps you become familiar with WCF Data Services and the Open Data Protocol (OData) through a series of tasks that support the topics in Getting Started.

What you'll learn

The first task in this quickstart shows how to create a data service to expose an OData feed from the Northwind sample database. In later topics, you will access the OData feed by using a Web browser, and also create a Windows Presentation Foundation (WPF) client application that consumes the OData feed by using client libraries.

Prerequisites

To complete this quickstart, you must install the following components:

  • Visual Studio

  • An instance of SQL Server. This includes SQL Server Express, which is included in a default installation of Visual Studio 2015, or as part of the Data storage and processing workload in Visual Studio 2017.

  • The Northwind sample database. To download this sample database, see the download page, Sample Databases for SQL Server.

WCF data services quickstart tasks

Create the Data Service

Define the ASP.NET application, define the data model, create the data service, and enable access to resources.

Access the Service from a Web Browser

Start the service from Visual Studio and access the service by submitting HTTP GET requests through a Web browser to the exposed feed.

Create the .NET Framework Client Application

Create a WPF app to consume the OData feed, bind data to Windows controls, change data in the bound controls, and then send the changes back to the data service.

Note

Project files from a completed version of the quickstart can be downloaded from the WCF Data Services Documentation Samples page.

Next steps

See also