OData

Create and consume RESTful APIs in a simple and standard way

Latest posts

Oct 4, 2011
Post comments count 0
Post likes count 0

OData Compression in Windows Phone 7.5 (Mango)

DB Blogs

  One of the most frequently requested features for OData is payload compression. We have added two events to DataServiceContext in the OData phone client included in the Windows Phone SDK 7.1 that enables you to work with compressed payloads: Now, let’s take a look at these in action. Here is a method that adds support for gzip compression for OData feeds in a Windows Phone app: using SharpCompress.Compressor; using SharpCompress.Compressor.Deflate; private void EnableGZipResponses(DataServiceContext ctx) {      ctx.WritingRequest += new EventHandler<ReadingWri...

Sep 15, 2011
Post comments count 0
Post likes count 0

Updated Item Templates for Microsoft Visual Studio 11 Express for Windows Developer Preview

DB Blogs

Microsoft recently released the developer preview of the next version Windows as well as a developer preview of Visual Studio 11 for building apps on the new version of Windows. Some of you may have noticed that the “New Item” template for creating a WCF Data Services isn't working correctly (this is pre-release “preview” software after all). We have created a fix for these templates that you can use to unblock creating a WCF Data Service. The details of apply the fix are below – keep in mind this version of Visual Studio is a preview release only and the fix should only be used...

Sep 2, 2011
Post comments count 0
Post likes count 0

Update to the OData Library Available on CodePlex and NuGet

DB Blogs

We have just released a new drop of ODataLib and EdmLib on CodePlex as a shared source project. ODataLib is a library used for advanced OData serialization and deserialization scenarios, and EdmLib is a library used to manipulate entity data models. We invite you to download the code and test it out – this is very much an alpha release so any and all feedback is welcome. You can download the source for these libraries (and a number of others that we have published) at odata.codeplex.com. The libraries are also available as a NuGet package at http://nuget.org/List/Packages/ODataLibrary. Shayne Burgess Progra...

Jun 30, 2011
Post comments count 0
Post likes count 0

Announcing WCF Data Services June 2011 CTP for .NET4 & SL4

DB Blogs

Today we are releasing June CTP of the next version of the WCF Data Services libraries targeting.NET 4 and Silverlight 4.  Based on broad community feedback, in addition to features shipped as part of Oct 2010 CTP1, I’m happy to announce that this release includes two of the top three requested features by WCF Data Services developers; support for properties on derived types & support for Any/All LINQ operators. Below is a brief summary of the features available in this CTP.  Subsequent blog posts will discuss each feature in more detail and provide examples of how to use each. Properties on deri...

Jun 29, 2011
Post comments count 0
Post likes count 0

datajs V1 Now Available

DB Blogs

Over the last few months, we have been hard at work on the datajs library, releasing four preview versions and working with web developers to fine-tune the library. Today, we’re proud to announce that the first version of datajs is now available for download. What does it do? datajs is a JavaScript library for web applications that supports the latest version of the OData protocol and HTML5 features such as local storage. It provides a simple, extensible API that can help you write better web applications, faster.  Our goal is to simplify working with data on the web, and to leverage improvements in m...

Jun 20, 2011
Post comments count 0
Post likes count 0

Announcing datajs version 0.0.4

DB Blogs

  We are excited to announce that datajs version 0.0.4 is now available at https://datajs.codeplex.com/. The latest release adds support for Reactive Extensions for Javascript (RxJs), forward and backwards cache filtering, extended metadata, simplified OData call configuration, and provides various performance and quality improvements. To get started, simply browse over to the Documentation page, where you will find download instructions, overview and detailed topics, and some samples to get started quickly. This is the last planned release before version 1.0.0. The features and APIs are not expected to ...

May 31, 2011
Post comments count 0
Post likes count 0

Any/All support in WCF Data Services

DB Blogs

The latest CTP of WCF Data Services adds one of the most frequently requested features, namely support for Any/All queries. Prior to this CTP there was no way to filter results based on properties of a related collection (or a multi-value property). For example if you have this model: You couldn’t ask for all movies starring someone called ‘Zack’. The first thing we did was to add support for Any/All in the OData protocol. If you are interested you can see how the design of Any/All evolved on the OData.org blog via a series of posts first here, then here and finally here. The latest CTP of...

May 17, 2011
Post comments count 0
Post likes count 0

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

DB Blogs

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 equivalent to the previous post Data Services Streaming Provider Series-Part 2: Accessing a Media Resource Stream from the Client; both client samples access the streaming provider that we create in the first blog post in this series: Implementing a Streaming Provider. This ...

Apr 20, 2011
Post comments count 0
Post likes count 0

Using Microsoft WCF Data Services Reference Data Caching Extensions (CTP)

DB Blogs

Introduction Last week at MIX we announced proposed extensions to the OData protocol for obtaining changes (deltas) to the results of an OData Request. The extensions provide a hypermedia-driven model for obtaining a "Delta Link" from a delta-enabled feed that can later be used to obtain changes from the original results. Along with the announcement, we released a new CTP of WCF Data Services named "Microsoft WCF Data Services For .NET March 2011 Community Technical Preview with Reference Data Caching Extensions". As the (incredibly long) name implies, this CTP builds on (and is fully side...