Tuesday, August 21, 2012

ADO.Net Data Services

ADO.Net Data Services implement the OData protocol to expose data to all applications in a standardized way. The OData Protocol aims in standardizing the way in which data is shared between applications so that any application/service can access data from other applications/services without having to know the underlying storage mechanism.

OData exposed data to applications in REST format HTTP URIs, to perform CRUD (create/read/update/delete) operations on the data source. The response to the request is sent in XML Based ATOM format or text based JSON format.


ADO.NET Data Services are available with Visual Studio 2008 SP1, it helps in creating a set of End Points which are exposed to external applications as REST HTTP format URI’s

In order to expose data from a source using ADO.Net Data services, we first need to create the Data Model to be exposed, this can be done by creating an ADO.Net Entity Data Model by mapping to the target data source. Once the Data Model is ready we have to create an ADO.Net Data Service by mapping the data model. Configure the Service for the output format and we are done.

To know more about the ADO.Net Data Services refer to Microsoft’s page.
http://msdn.microsoft.com/en-us/library/cc907912.aspx

Search Flipkart Products:
Flipkart.com

No comments: