Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: Implementing Server-side Sorting/Paging for OData feeds in Silverlight Controls ( DataGrid, DataPager, DataForm )

    Download sample application and source here This blog post was written almost a year ago, but lethargy and constant revision has made me realize that good blog posts are hard to write. Background Nuts and Bolts Using this in your applications: Vote to get these...
  • Blog Post: Windows Phone OData sample application updated for July 2010 Beta release

    With the latest release of the Windows Phone tools, the OData sample Netflix application has also been updated. Here is where you get the latest Windows Phone Tools : Windows Phone Developer Tools Beta And here is where you get the latest OData sample application : ODataOnWinPhoneSample_July2010Beta...
  • Blog Post: 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...
  • Blog Post: Server Driven Paging With WCF Data Services

    Download Sample Application Server Side What is SDP ? Design notes Blog post , Channel 9 video Enabling SDP on the server. Setting Server-side paging limits in InitializeService. How to detect if a set is paged from the server-side. How QueryInterceptors affect the next link Uri. Navigating the next...
  • Blog Post: ADO.NET Data Services : Efficient Error Handling across Application Tiers

    While developing an application that spans multiple tiers , it is important that you be able to flow error information through the tiers without losing any context or details in the tiers. With ADO.NET Data Services , we have an error contract which guarantees that all errors thrown from the Data Service...
  • Blog Post: Using the ADO.NET Data Services Silverlight client library in x-domain and out of browser scenarios – II (Forms Authentication)

    Click here to download sample application Using the ADO.NET Data Services Silverlight client library in x-domain and out of browser scenarios – II (Forms Authentication) In this blog post, we will talk about using the Silverlight Client Library against a Data Service that is secured with Asp.Net Forms...
  • Blog Post: Using the PHP Toolkit with ADO.NET Data Services

    Setup PHP on your windows machine Setup the PHP Toolkit Setting up the PHP samples on IIS Running the sample ADO.NET Data Services PHP Sample Applications Walkthrough Setup PHP on your windows machine The following steps show you how to setup your windows machine to host PHP applications. We will be...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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....
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Working with associations in ADO.NET Data Services , Part 2

    In part 2 ,we will talk about how to use the client library to deal with : 1..N Associations This is the case of entities associated with each other 1..N . An example from Northwind is the relation between Categories and Products Entities. An instance of the Categories entity type should have associated...
  • Blog Post: Accessing Cross-Domain ADO.NET Data Services from the Silverlight Client Library

    When we built the client library for Silverlight in Silverlight 2.0 , the underlying Network Stack provided by Silverlight core libraries was very limited in terms of the Status Codes and Request Verbs that it supported.Our options were : a) Use the System.Net libraries provided by the agClr and give...
  • Blog Post: DataServiceContext , Detect if there are pending changes

    Hi , I ran into this interesting scenario in the forums today . How does one find out if there are any pending changes in the DataServiceContext that you have to submit to the store ?   This is quite simple actually . The DataServiceContext has 2 collections called Entities and Links . These collections...
  • Blog Post: Ajax preview 2 : Declarative Instantiation of AjaxControlToolkit Controls

    Today ,we will talk about using the Declarative Syntax to instantiate certain AjaxControlToolkit Behaviors . Step 0: Figure out which are the script files needed for the Behavior to work and include the appropriate Script       references  in your page . For the PopupControlBehavior...
  • Blog Post: Documentation for the AjaxControlToolkit

    Ready for some documentation for the ATK controls ? To skip my journey to create this , download the Documentation ( in CHM form) here : AjaxControlToolkit Docs Step 1 : Using AjaxDoc to generate the Reflection.org file required by Sandcastle    1.0) Download AjaxDoc here .    1.1...
  • Blog Post: Entities , How many ways do I count thee ?

    Its a common ask that we introduce aggregating mechanisms in Data services so that one can do a Count of the number of entities present in an EntitySet easily. In this blog post , I will outline one method of implementing a “Count” method that works for you. The interface to the count method will be...
  • Blog Post: Working with Associations in ADO.NET Data Services

    I’ve seen that users are having some question about how to deal with certain types of relations between entities and how to deal with them in the client library.I will outline the a couple of common scenarios of using the client library among a few relationship types. I'll be using the AdventureWorks...
  • Blog Post: Astoria DataSource Extender

    Download Source and Example : Most of you must have heard about Astoria. Read More about it here , if you haven't already : Microsoft Codename "Astoria". The Astoria Team Blog : It's a "Database in the cloud", your db is hosted on the Web and you access it via REST -style URIs. I have written a ControlExtender...
Page 1 of 1 (21 items)