Browse by Tags

Tagged Content List
  • Blog Post: T4 templates for WCF Data Services Part–II, Client Code-Gen

    Click here to download. GenerateDataServiceContext.tt generates a strongly-typed DataServiceContext type based on the service description. GenerateEntityTypes.tt generates the client-side proxies for entity types exposed by the OData service. GenerateViewModels.tt ( Silverlight Only ) generates viewmodels...
  • Blog Post: Lessons learnt building the Windows Phone OData browser

    One of the reasons for re-building the OData browser for Windows Phone was to experience first hand the issues our developers face when writing an app for the marketplace that uses the client library my team produces. This blog post describes what I learnt as a developer on the OData browser and what...
  • Blog Post: Update on the Windows Phone 7 OData Client Libirary

    Team blog post here : WCF Data Services Client Library and Windows Phone 7 – Next Steps And some sample code for more context. With the Linq pattern, here is what the code for downloading the first 10 customers would look like : DataServiceCollection < Customer > customerCollection = new DataServiceCollection...
  • 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: T4 templates for WCF Data Services, Part -I

    Click here to download sample application As part of a series of blog posts about how to enhance the WCF Data Services development experience, I will be releasing some of the T4 templates that I use for generating common code. In this post, I will talk about augmenting the Server-side WCF Data Service...
  • 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: A Checklist for OData Feed publishers

    Here's a minimal checklist to make sure your OData Service is available to a maximum number of clients and very functional out of the box . I'll add more items to this list as we go along. Allow Silverlight clients to access your data. Silverlight applications running on a domain other than the one the...
  • 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: Please welcome the JAVA Client for ADO.NET Data Services

    The new Java client joins a growing family of clients for ADO.NET Data Services, which include: Ajax , Silverlight , .Net FX , Dynamic Data , PHP . Here’s some documentation about the Java client http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/287-restlet.html .
  • 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 , 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 that...
  • Blog Post: ADO.NET Data Services Friendly Feeds , Mapping EDM Types - I

    As I mentioned in my last blog post , here are some samples of how to map your entity properties to Atom/custom markup in the atom:entry element. You can apply Friendly Feed mappings on the EDM entity types by adding attributes to the CSDL of the Entity Data Model . We will focus on the kinds of mappings...
  • Blog Post: Versioning note , writing SL 3.0 applications with Astoria v1.5 Sl 2.0 SDK Library

    As part of the v1.5 install, we also shipped a Silverlight 2.0 SDK library that is capable of talking to a v1.5 Astoria Service. Did you know that you could use the Silverlight 2.0 client library we shipped as part of our v1.5 CTP1 release in Silverlight 3.0 applications? From a Silverlight SDK library...
  • Blog Post: ADO.NET Data Services Silverlight Project Error : System.IO.FileNotFoundException

    Imagine this , you just downloaded the Astoria V1.5 CTP1 and are happily chugging along and decide to make a Silverlight Project that uses the latest Silverlight client library to make some cool app. You open an existing Silverlight app  /create a new Silverlight app , and generate the client types...
  • 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: Viewer Mail , #1

    Disclaimer  : These are my thoughts and opinions , although I work on the Astoria team , I am not the voice of the team.The team has its own voice and can be heard here : Project Astoria Team Blog Hola ! I am interrupting my regularly scheduled blog post to  answer some really interesting questions...
  • Blog Post: Astoria & IIS , HTTP 400 Bad Request on Posting Large Payloads to an astoria service

    We’ve seen this in the labs and also reported by our customers on the forums, If you try to post a large amount of data to an astoria data service , you might receive a response code Http 400 Bad Request even though the response data is valid. An ADO.NET Data Service sits on top of Windows Communication...
  • 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...
Page 1 of 2 (29 items) 12