DB Blogs

Post by this author

WCF Data Service 5.1.0-rc2 Released

Today we are releasing refreshed NuGet packages as well as an installer for WCF Data Services 5.1.0-rc2. This RC is very close to complete. We do still have a few optimizations to make in the payload, but this RC is very representative of the final product. The RC introduces several new features: The new JSON serialization ...

WCF Data Service 5.0.2 Released

We’re happy to announce the release of WCF Data Services 5.0.2. What’s in this release This release contains a number of bug fixes: Getting the release The release is only available on NuGet. To install this prerelease NuGet package, you can use the Package Manager GUI or one of the ...

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 5.0 to 5.0.1 ...

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 into if you have an Entity...

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 ...

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 post, we’...

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: Getting the prerelease The prerelease is only available on NuGet. To install this prerelease NuGet package, ...

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 consumption of OData ...

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 Release Notes What does the MSI do? All of the fixes detailed above are...

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...