OData 101: Bin deploying WCF Data Services

TL;DR: If you’re bin-deploying WCF Data Services you need to make sure that the .svc file contains the right version string (or no version string). The idea for this post originated from an email I received yesterday. The author of the email, George Tsiokos (@gtsiokos), complained of a bug where updating from WCF Data Services… Read more

OData 101: Using the [NotMapped] attribute to exclude Enum properties

TL;DR: OData does not currently support enum types, and WCF Data Services throws an unclear exception when using the EF provider with a model that has an enum property. Mark the property with a [NotMapped] attribute to get around this limitation. In today’s OData 101, we’ll take a look at a problem you might run… Read more

OData 101: Building our first OData-based Windows Store app (Part 2)

Download the sample code In the previous blog post, we walked through the steps to build an OData-enabled client using the new Windows UI. In this blog post, we’ll take a look at some of the code that makes it happen. ODataBindable, SampleDataItem and SampleDataGroup In the walkthrough, we repurposed SampleDataSource.cs with some code from… Read more

OData 101: Building our first OData-based Windows Store app (Part 1)

Download the sample code In this OData 101 we will build a Windows Store app that consumes and displays movies from the Netflix OData feed. Specifically, we will focus on getting data, displaying it in the default grid layout, and enabling search functionality. Because there’s a lot of details to talk about in this blog… Read more

WCF Data Services 5.0.2-rc Prerelease

We’re happy to announce that we’re ready for another public RC that includes a whole bunch of bug fixes. What is in the prerelease This prerelease contains a number of bug fixes: Fixes NuGet packages to have explicit version dependencies Fixes a bug where WCF Data Services client did not send the correct DataServiceVersion header… Read more

Trying out the prerelease OData Client T4 template

TL;DR We recently prereleased an updated OData Client T4 template to NuGet. The template will codegen classes for working with OData v3 services, but full support has not been added for all v3 features. What is the OData Client T4 template? The OData Client T4 template is a T4 template that generates code to facilitate… Read more

WCF Data Services 5.0.1 Released

We have just pushed the official bits for 5.0.1 to NuGet and should be releasing an updated MSI sometime within the next week. Thanks to feedback from the community we found and fixed several bugs, detailed below. NuGet Links http://www.nuget.org/packages/Microsoft.Data.Services http://www.nuget.org/packages/Microsoft.Data.Services.Client http://www.nuget.org/packages/Microsoft.Data.OData http://www.nuget.org/packages/Microsoft.Data.Edm http://www.nuget.org/packages/System.Spatial Release Notes Added configuration setting to ODataLib to allow users to… Read more

WCF Data Services EULAs updated

Today we are releasing an updated EULA for WCF Data Services. Effective as of WCF Data Services 5.0.1, the DLLs that constitute the runtime components of WCF Data Services are now officially redistributable. Please see the attached EULAs for more details. Please leave your thoughts and comments below. WCF Data Services EULAs.zip… Read more

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 proposition and… Read more

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… Read more