Saturday, July 5, 2008

SingingEels : ADO.NET Data Services - AJAX Tree View

SingingEels : ADO.NET Data Services - AJAX Tree View
ADO.NET Data Services (formerly "project Astoria") is a new mindset to developing data driven applications. Based on a RESTful architecture, this tool provides powerful services for querying and altering your data. This article will walk you through the steps of exposing your data as a service and consuming it with AJAX.
The scenario that we're going to tackle is a common one, and the solution is brought to you by ADO.NET Data Services, the Entity Framework and ASP.NET AJAX. All in all, this is one of the simplest, yet most elegant pieces of code I've ever written. Here's our real-world problem: We want to display a tree view of our customers, and have the ability to "drill down" into the details of that customer including their orders, and the products in those orders.
So why is 'ADO.NET Data Services' the best solution here? What real, tangible benefits do we get from combining Astoria with AJAX? Is this going to be easy, or am I doing more work just to be cool? - All of these questions will be answered in just a few short minutes.

http://www.visli.com/

No comments: