Export (0) Print
Expand All

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 with WCF Data Services.

The first task in this quickstart shows how to access the public, read-only Northwind OData feed by using a Web browser. Next, you will create a simple console application that consumes the OData feed by using client libraries. Later, you will create your own writable Northwind data service from the Northwind sample database by using the Entity Framework provider. Finally, you will create a Windows Presentation Framework (WPF) application that binds OData feeds to controls and sends updates back to the writable Northwind service.

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

  • Visual Studio 2010.

  • An instance of Microsoft SQL Server. This includes SQL Server Express, which is included in a default installation of Visual Studio.

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

Accessing an OData Service from a Web Browser

Access the read-only Northwind OData service by submitting HTTP GET requests through a Web browser to the public feed.

Consuming OData Feeds in a Console Application

Create a WPF client application to consume the public Northwind OData feed and bind returned feed data to Windows controls.

Creating the Northwind Data Service

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

Binding OData Feeds to Controls in a Client Application

Create a second client application to access the new read-write Northwind service. This new client adds functionality to bind data to controls and send changes back to the data service.

Note Note

Project files from a completed version of the quickstart can be downloaded from the WCF Data Services 5.0 Quickstart page on the MSDN Developer Samples site.

Community Additions

ADD
Show:
© 2014 Microsoft