What is ADO .NET Data Services?
ADO .NET Data Services (formerly known as Project “Astoria”) is a technology used to expose a wide range of data sources through a RESTful service interface. Data sources can be relational databases, XML files, and so on. ADO .NET Data Services defines a flexible
addressing and query interface using a URL convention, as well as the usual resource manipulation methods on data sources (it supports the full range of Create/Read/Update/Delete). Operations can also be optimized by batching requests so that they are grouped
on a single server call.
There is full support for ADO .NET Data Services in Visual Studio 2008 SP1 as well as in the upcoming Visual Studio 2010; this includes direct support for both creating and consuming data services directly from the development environment.
What is the Toolkit used for?
The Toolkit for PHP with ADO.NET Data Services is designed to make it easier for PHP developers to connect to and take advantage of services built using ADO .NET Data Services, a set of features recently added to the .NET Framework.
At design time the PHP toolkit generates proxy classes based on the metadata exposed by the ADO .NET Data Services. At run time, you call from your code the PHP proxy classes, so that you can easily program against the ADO .NET Data Service using a set of local
PHP classes that represent the structure of the remote data. Using RESTful services over HTTP, the communication between the PHP application and ADO .NET Data Services is taken care of by the PHP proxy classes and the Toolkit libraries.
What PHP libraries do I need to run the toolkit?
The toolkit relies only on 3 standard PHP extensions:
Can I use the toolkit on other platforms other than MS Windows?
Yes, the toolkit is written in PHP and does not have any dependency on the hosting OS. The only configuration change that might be required is to enable XML, XSL and CURL extensions.
What authentication schemes are supported by the toolkit?
Out of the box the toolkit supports basic authentication (username/password) but it provides a Context class to add custom HTTP header or it can be modified to support other authentication schemes.
Does the Toolkit support JSON?
The Toolkit support both JSON and Atom so it is able to connect to any type of ADO .NET Data Service.
Does the Toolkit work with Windows Azure?
The toolkit supports AtomPub protocol used by Windows Azure but it does not provide built-in support for Azure authentication so, in order to connect to Azure, the Context class needs to be changed in order to provide the authentication required by Windows
Azure. Azure authentication will be added to the next releases of the Toolkit.
Where can I find more information about ADO .NET Data Services?
You can find more information about ADO .NET Data Services
, (Check the “How do I…” videos).
The full description of the query format can be found