แชร์ผ่าน


Channel 9 Interview: ADO.NET Data Services in Visual Studio 2008 SP1

In this interview Saaid Kahn, a Program Manager on the Visual Studio Pro Tools team (and former member of the VB Team), shows us how to create an n-tier application against a database using ADO.NET Data Services (Astoria) and an Entity Data Model, both now available in Visual Studio 2008 Service Pack 1.

ADO.NET Data Services use WCF REST-ful services and provides all the plumbing so you can focus on the program logic by programming against a service proxy. ADO.NET Data Services allow you to easily create data services exposed on the web using URIs to point to pieces of data and simple, well-known formats to represent that data.

Saaid shows us how to create a simple service and then consume it using a Windows client via the "Add Service Reference" dialog in Visual Studio. He also walks through the client proxy methods that work with the data service.

ADO.NET Data Services (Astoria) in Visual Studio 2008 SP1

Enjoy!

Comments

  • Anonymous
    October 21, 2008
    PingBack from http://blog.a-foton.ru/index.php/2008/10/22/channel-9-interview-adonet-data-services-in-visual-studio-2008-sp1/

  • Anonymous
    October 25, 2008
    Great Interview!! Since the release of Astoria, I was looking for something meaningful (like discussed in this interview) on how to use them in WindowsClients. I followed entire discussion and a it's fantastic from learning concept's point of view. A real time data model, however, will have more than 3-4 table. They certainly will have tables in 100s and even more SPs. So in situations like these what is recommended solution? Should there be more 1 data model? Each consisting of relevant tables needed for 1 winform/WPF screen? If we have more that 1 such data model, does that imply we will have equal number of ADO.Net data services as well? ..and will all of these services be hosted inside same single Web Project as shown in interview? Lot of questions...though I am sure it will help in many others adopt this great platform... Mahesh.

  • Anonymous
    October 29, 2008
    Day 3 at PDC is off to a great start so far. I just attended a session on the architecture and development

  • Anonymous
    November 07, 2008
    The comment has been removed