OData

Create and consume RESTful APIs in a simple and standard way

Reference Data Caching Walkthrough

This walkthrough shows how a simple web application can be built using the reference data caching features in the “Microsoft WCF Data Services For .NET March 2011 Community Technical Preview with Reference Data Caching Extensions” aka “Reference Data Caching CTP”. The walkthrough isn’t intended for production use ...

Announcing datajs version 0.0.3

Today we are very excited to announce a new release of datajs. The latest release of datajs makes use of HTML5 storage capabilities to provide a caching component that makes your web application more interactive by reducing the impact of network latency. The library also comes with a pre-fetcher component that sits on top of the cache. The pre...

Announcing WCF Data Services March 2011 CTP2 for .NET4 & SL4

  Today we are releasing CTP2 of the next version of the WCF Data Services libraries.  This release targets .NET 4 and Silverlight 4 and includes new client and server features in addition to those that shipped as part Oct 2010 CTP1.   Below is a brief summary of the features available in this CTP.  Subsequent ...

Introduction to Derived Properties

What is a derived property? A derived property is a property that does not exist on the EntityType associated with the EntitySet; rather it exists on a type that derives from the base type of the entity set. This feature has been among our customers top asks since the lack of support makes exposing models with rich, well-defined inheritance...

New JavaScript library for OData and beyond

Today we are announcing a new project called ‘datajs’, a cross-browser JavaScript library that enables web applications to do more with data. datajs leverages modern protocols such as JSON and OData as well as HTML5-enabled browser features. ‘datajs’ is an open source project, released under MIT. In this initial release...

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

Using ASP.NET output caching with Data Services

A lot of our customers have asked us how to cache results from their Data Service. Which is why I want to point you to this excellent post by Peter Qian (a developer on the Data Services team) that shows you how to setup ASP.NET output caching. It lays out what is required very clearly. Check it out. Alex James Program Manager Microsoft...

Entity Set Resolver

Problem Statement:   In previous versions, the WCF Data Services .NET and Silverlight client libraries always assumed that all collections (aka entity sets) had the same base URI. This assumption was in place because the library used the URI provided in the DataServiceContext constructor to generate collection URIs using the OData ...

Additional Feed Customization Support

1.     Problem: In the previous version, WCF Data Services introduced the feed customization feature. This feature enabled users to map properties to certain elements in the Atom document. As an example, users could map a name property to the Atom title element. This is especially useful for generic feed readers ...