OData

Create and consume RESTful APIs in a simple and standard way

NuGet and Bin Deploy

We recently posted about trying to release WCF Data Services more frequently, and some of the changes we’re making. In this post, we’ll take a slightly deeper look at NuGet,bin deploy, and where WCF Data Services is headed. Managing dependencies with NuGet If you’re already familiar with NuGet, you probably understand its value ...

WCF Data Services, now with more releases!

Like other teams at Microsoft, WCF Data Services has been working toward a goal of more frequent releases. We released 5.0 on April 9 and we pre-released WCF Data Services 5.0.1-rc* on April 20 (we’ll release the final version of 5.0.1 very soon). The rapid release was possible because of three changes we’re making. First up, we’re… ...

WCF Data Services 5.1.0-rc Prerelease

Less than two weeks ago, we released WCF Data Services 5.0.0. Today, we are releasing 5.1.0-rc as a NuGet prerelease. What is in the prerelease This prerelease contains several bug fixes: Getting the prerelease The prerelease is only available on NuGet and must be installed using the prerelease cmdlet. Prereleases are not ...

How to use WCF DS 5.0 in a Web Site project

The WCF Data Services 5.0 RTM release includes an update to the Add Service Reference behavior in Visual Studio. For most project types that target .NET Framework 4.0, this means that when you add a new service reference, you will automatically get assembly references to the new client assemblies, and your client will be able to communicate ...

Using Geospatial Data

This CTP of WCF Data Services adds support for geospatial data. The release allows use of all of the OData geospatial data types and the geo.distance() canonical function. This enables two key scenarios: Before I illustrate use of these features, I'd like to mention some limitations of this CTP. First, (and most significantly) WCF Data ...

Accessing an OData Media Resource Stream from a Windows Phone 7 Application (Streaming Provider Series-Part 3)

In this third post in the series on implementing a streaming data provider, we show how to use the OData client library for Windows Phone 7 to asynchronously access binary data exposed by an Open Data Protocol (OData) feed. We also show how to asynchronously upload binary data to the data service. This Windows Phone sample is the asynchronous ...

Connecting to an OAuth 2.0 protected OData Service

This post creates a Windows Phone 7 client application for the OAuth 2.0 protected OData service we created in the last post. Prerequisites: To run this code you will need: Our application: Our application is a very basic Windows Phone 7 (WP7) application that allows you to browse favorites and if logged in create new favorites and...

OData and OAuth – protecting an OData Service using OAuth 2.0

In this post you will learn how to create an OData service that is protected using OAuth 2.0, which is the OData team’s official recommendation in these scenarios:  So if your scenarios is one of the above or some slight variation we recommend that you use OAuth 2.0 to protect your service, it provides the utmost flexibility and...

Data Services Streaming Provider Series-Part 2: Accessing a Media Resource Stream from the Client

In this second post in the series on implementing a streaming data provider, we show how to use the WCF Data Services client library to access binary data exposed by an Open Data Protocol (OData) feed, as well as has how to upload binary data to the data service. For more information on the streaming provider, see the first blog post in this ...

Data Services Streaming Provider Series: Implementing a Streaming Provider (Part 1)

The Open Data Protocol (OData) enables you to define data feeds that also make binary large object (BLOB) data, such as photos, videos, and documents, available to client applications that consume OData feeds. These BLOBs are not returned within the feed itself (for obvious serialization, memory consumption and performance reasons). Instead, ...