Phani Raj
Software Engineer at PostHog

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 I try to save an object of a Type which has custom client-Side only properties to the Data Service using AddObject and SaveChanges, I get...

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, this is another way of saying “ A row in the Products table should have links to a row in the Categories table”. In case...

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 functionality available on the desktop. b) Cook up our own Network stack and provide all the functionality provided on the desktop , in Silverlight. We...

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 about one of my blog posts , i.e Working with Associations in ADO.NET Data Services.  These questions are from the comments on the post...

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 Foundation , although most of the required plumbing is hidden away from you  ,  you can still see the effects in scenarios...

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 entities and links that are tracked by the context. Given these collections , how does one know if any of them were changed on the...

  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 team. 14th Jan 2008   ,  Saw snowfall for the first time. 23rd Jan 2008   ,  Went Snowboarding for the  first time. 23rd Jan 2008   , ...