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.
What You Will 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 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.
WCF Data Services Quickstart Tasks
- Creating the Data Service
Define the ASP.NET application, define the data model, create the data service, and enable access to resources.
- Accessing the Service from a Web Browser (WCF Data Services Quickstart)
Start the service from Visual Studio and access the service by submitting HTTP GET requests through a Web browser to the exposed feed.
- Creating the .NET Framework Client Application (WCF Data Services Quickstart)
Create a WPF client application 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.