OData

Create and consume RESTful APIs in a simple and standard way

How to update existing Windows Phone 7 OData applications to work with the new client tools

OData Client Tools for Windows Phone Apps is recently released to add support for consuming OData v3 services. You may  already have a Windows Phone 7.1 application that consumes OData  and want to update it to work with OData V3 services using the new Windows Phone SDK 8.0 and OData Client Tools for Windows Phone Apps. In this ...

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

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

Getting Started with the Data Services Update for .NET 3.5 SP1 – Part 1

Yesterday we released the Data Services Update for .NET 3.5 SP1 that basically brings the functionality available in .NET 4.0 to .NET 3.5 too. To help you get started with the Update, in this post we will: And in Part 2 we will Create a WPF Application to use the Data Service So without further ado, lets get started… Walkthrough: Step ...

Enabling X-Domain access to your Data Services

In the Astoria V1.5 CTP2 release, we introduced support for X-Domain and Out Of Browser access to Data Services in our Silverlight client library. This blog post talks about how to enable Cross-Domain access to Data Services from the Silverlight client library. I am a Service author, How do I enable X-Domain access to Data Services I host ...

Using Data Services over SharePoint 2010 – Part 2 – CRUD

In part 1 you learned how to get SharePoint 2010 and Astoria working together, how to add a Service Reference to your Client Application and how to do a basic insert. In this installment you will see full CRUD, so you’ll learn how to do queries, data binding, updates and deletes. The Problem: In part 1 we created a ‘Make a Suggestion’ ...

Using Data Services over SharePoint 2010 – Part 1 – Getting Started

ADO.NET Data Services 1.5 and SharePoint 2010 allow developers to write applications against SharePoint Lists using the familiar Data Services Client programming model. Setup The SharePoint 2010 beta will become generally available in November. In order to use Data Services with SharePoint 2010 Beta, ADO.NET Data Services 1.5 must be ...