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

The halls are empty

I probably brought this onto myself by taking all my vacation time in November to go back home for a month long visit. Now that its December , almost 80% of the team is on vacation and I am in office. Its not just my team , most of my floor in building 35 is…

1

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

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 Products entities,…

10

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 a limited subset of the…

3

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…

0

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…

4

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 contain…

0

Happy Birthday to Me , Again!!!

  Its that time of the year again ! I grow a year older ,every year , on the year. This happened to me last year too and I have a strong suspicion it will happen next year too . Stuff I did over the last year . 14th Jan 2008   ,  Joined the Astoria…

1

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 , the script files would be : AjaxControlToolkit.ExtenderBase.BaseScripts.js AjaxControlToolkit.Common.Common.js AjaxControlToolkit.Compat.Timer.Timer.js AjaxControlToolkit.Animation.Animations.js AjaxControlToolkit.Animation.AnimationBehavior.js…

0