ADO.NET Data Services

ADO.NET Data Services (codename "Astoria") [cite web | url = http://blogs.msdn.com/data/archive/2007/12/10/ado-net-data-services-ctp-released.aspx | title = ADO.NET Data Services CTP Released! | accessdate = 2007-11-12] is a platform for what Microsoft calls "Data Services". It is actually a combination of the runtime and a web service through which the services are exposed. In addition, it also includes the Data Services Toolkit which lets Astoria Data Services be created from within ASP.NET itself. The Astoria project was announced at MIX 2007, and the first developer preview was made available on April 30, 2007. The first CTP was made available as a part of the ASP.NET 3.5 Extensions Preview. The final version was released as part of Service Pack 1 of the .NET Framework 3.5 on August 11 2008.

Overview

ADO.NET Data Services exposes data, represented as Entity Data Model (EDM) objects, via web services accessed over HTTP. The data can be addressed using a REST-like URI. The Astoria service, when accessed via the HTTP GET method with such a URI, will return the data. The web service can be configured to return the data in either plain XML, JSON or RDF+XML. In the initial release, formats like RSS and ATOM are not supported, though they may be in the future. In addition, using other HTTP methods like PUT, POST or DELETE, the data can be updated as well. POST can be used to create new entities, PUT for updating an entity, and DELETE for deleting an entity.

The URIs representing the data will contain the physical location of the service, as well as the service name. In addition, it will also need to specify an EDM Entity-Set or a specific entity instance, as in respectively http://dataserver/service.svc/MusicCollectionor http://dataserver/service.svs/MusicCollection [SomeArtist] The former will list all entities in the "Collection" set whereas the latter will list only for the entity which is indexed by "SomeArtist".

In addition, the URIs can also specify a traversal of a relationship in the Entity Data Model. For example, http://dataserver/service.svs/MusicCollection [SomeSong] /Genretraverses the relationship "Genre" (in SQL parlance, joins with the "Genre" table) and retrieves all instances of "Genre" that are associated with the entity "SomeSong". Simple predicates can also be specified in the URI, like http://dataserver/service.svs/MusicCollection [SomeArtist] /ReleaseDate [Year eq 2006] will fetch the items that are indexed by "SomeArtist" and had their "release" in "2006". Filtering and partition informationcan also be encoded in the URL as http://dataserver/service.svs/MusicCollection?$orderby=ReleaseDate&$skip=100&$take=50

References

*
* [http://astoria.mslivelabs.com/Overview.doc Microsoft Codename "Astoria" Overview]

External links

* [http://msdn.microsoft.com/en-us/library/cc907912.aspx Using Microsoft ADO.NET Data Services]
* [http://www.asp.net/downloads/3.5-extensions/ ASP.NET 3.5 Extensions Preview]
* [http://blogs.msdn.com/astoriateam/ ADO.NET Data Services (Project Astoria) Team Blog]
* [http://entmag.com/news/article.asp?EditorialsID=9105 Access Cloud Data with Astoria: ENT News Online]


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • ADO.NET Data Services — (под кодовым название «Astoria»)  платформа для Microsoft Data Services, нацеленная, в первую очередь, на использование таких современных технологий, как Ajax и Silverlight. Цель ADO.NET Data Services состоит в том, чтобы представить данные… …   Википедия

  • ADO.NET — is a set of computer software components that can be used by programmers to access data and data services. It is a part of the base class library that is included with the Microsoft .NET Framework. It is commonly used by programmers to access and …   Wikipedia

  • ADO.NET Entity Framework — в составе .NET Framework ADO.NET Entity Framework (EF)  объектно ориентированная технология доступа к данным, является object relational mapping (ORM) решением для .NET Framework от M …   Википедия

  • ADO.NET Entity Framework — is an object relational mapping (ORM) framework for the .NET Framework. This framework is Microsoft s first ORM offering for the .NET Framework. While Microsoft provided objects to manage the Object relational impedance mismatch (such as a… …   Wikipedia

  • ADO.NET — часть фреймфорка .NET, предоставляющая доступ к данным для приложений, основанных на Microsoft .NET. Не является развитием более ранней технологии ADO, а является самостоятельной технологией. Классы ADO.NET находятся в сборке System.Data.dll… …   Википедия

  • WCF Data Services — (formerly ADO.NET Data Services,[1] codename Astoria )[2] is a platform for what Microsoft calls Data Services. It is actually a combination of the runtime and a web service through which the services are exposed. In addition, it also includes… …   Wikipedia

  • .NET-Framework — Basisdaten Entwickler: Microsoft Aktuelle Version …   Deutsch Wikipedia

  • .NET-Klassenbibliothek — NET Framework Basisdaten Entwickler: Microsoft Aktuelle Version …   Deutsch Wikipedia

  • .NET 3.0 — NET Framework Basisdaten Entwickler: Microsoft Aktuelle Version …   Deutsch Wikipedia

  • .NET Framework — Basisdaten Entwickler: Microsoft Aktuelle Version …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.