I’ve recently started using Microsoft’s WCF Data Services which supports OData Services.  What this means is that we can access resources by simply specifying a URI.  This concept greatly simplified building an ORM layer on a web site, as well as creating the linkage between the server side data and the client side application, which in my case is usually a browser.

So, the issue this blog addresses is that if you form a URI with the parameter $top={anything}, your data will automatically be sorted.  The documentation for OData on top basically says that, but it could be clearer.  It says the following:

“If the data service URI contains a $top query option, but does not contain a $orderby option, then the Entries in the set needs to first be fully ordered by the data service.”

What actually happens is when you use the orderby clause, the data will be sorted 100% of the time for you, whether you do it or not.

(more…)

As usual, Michael’s doing a great job of presenting enthusiastically the new Silverlight Analytics Frameworks.  I’m hugely impressed with how easy it is going to be to add analytics to a Silverlight app.  It seems Microsoft has gotten all the major vendors of Web Analytics to play.

One thing Michael said that really made me take notice is that all web pages should have a “Privacy Statement” prominently displayed on their main page.  It should say (and you need to abide by it) that you don’t track any user identifiable data associated with tracking data collected.  Great advice I won’t forget.

(more…)


© 2012 PeterKellner.net. All Rights Reserved
Follow

Get every new post delivered to your Inbox

Join other followers: