Async extension methods for OData Windows 8 client library

If you’re writing Windows Store applications and want to use the async goodness that the platform allows with your OData client applications, take a look at these extension methods that allow you to use the await and async keywords in your apps. Some useful links WCF Data Services Tools for Windows Store Apps RC Visual…

1

Server Driven Paging II , Implementing a Smart Auto-Paging Enumerable

Download Sample Application What is this ? How do I use this in my applications ? Cool, I am also interested in learning how this was built 2. What is this ?          An “Auto-paging Enumerable” is an IEnumerable implementation that allows the application to         automatically fetch the next page of results if the…

0

Developing a Windows Phone 7 Application that consumes OData

Click here to download the source for this application System Requirements : 1. Windows Phone 7 Developer tools 2. The OData client library for Windows Phone 7. We start by running Visual Studio 2010 Express For Windows Phone which is installed as part of Windows Phone 7 Developer tools. Step Zero is to generate the…

9

ADO.NET Data Services SL Client Library – XDomain and Out Of Browser

The first in my two part blog posts about the new Silverlight Client Library we released in CTP2 is up on the team blog. Using the ADO.NET Data Services Silverlight client in x-domain and out of browser scenarios – I Stay tuned to the team blog for the the second  part which talks about using the…

0

Silverlight toolkit with ADO.NET Data services , Drill-down Charts using Astoria

Download sample project here : In part 2 of this series , we will look at using the Astoria client library to create a drill down chart using the chart types available in the Silverlight toolkit. You can take a look at the complete samples for the Silverlight toolkit here. This sample builds a UI…

2

Silverlight toolkit with ADO.NET Data services , Master-Details with Accordion

Download the sample Silverlight project here : About the Silverlight toolkit  , From their Codeplex page : http://silverlight.codeplex.com/ “The Silverlight Toolkit is a collection of Silverlight controls, components and utilities made available outside the normal Silverlight release cycle” In the first of a series I am planning , we will talk about how to achieve…

1

Set Based Operations in Ado.net Data Services Part II

As an extension to the last blog post dealing with Set based filter operations in our client library ,we will introduce support for the specifying method calls in the filter expression.What does this achieve ?Currently , the IsIn operator only supports an equality comparision. With support for Method Calls , you can now select entities…

0

Batching Queries using the ADO.NET Data Services CLient library

Did you know you could execute batch queries using the Data Services client library ? The API is ExecuteBatch for Synchronous access and Begin/End ExecuteBatch for asynchronous scenarios. 1) Batching a set of URI Queries . The ExecuteBatch API accepts an array of DataServiceRequest objects. Consider this example , you want to batch queries to…

2

Working with Inheritance in Ado.net Data Services

I’ve seen this question quite often on the Astoria forums and wanted to write something down so that our users can gain from the discussions that go on in our forums. We will discuss how one deals with entities ( tables / records / resources ) that participate in an inheritance hierarchy. We shall take…

0

Customizing Serialization of Entities in the ADO.NET Data Services Client Library

This post is inspired by this forum thread :Data services client — exception on saveChanges Problem Statement I have added some custom proeprties to the Entity Types Generated by DataSvcUtil.exe /Add Service Reference / Hand Coded , these properties do not exist on the server and should not be sent to the server . When…

13