Service-based data source
WebService data source type enables you to connect WebGrid to a web service, such
as Windows Communication Foundation (WCF) Service, which is done through properties
configuration. It will automatically activate the full client-side operation mode
when your data service returns all data. It also supports paged data retrieval for
optimized performance.
It is also possible to perform data transaction operations such as insert, update,
and delete as well as advanced operation such as batch update when connected to
web service.
Astoria or ADO.NET DataService is the latest data access technology shipped in .NET
Framework 3.5. It enables data to be consumed programmatically through standard
web protocols, such as: REST, SOAP, XML, and JSON. WebGrid Enterprise 7 is optimized
to fully support ADO .NET DataService and consumes it in the same manner as other
web service technology. You only need to specify the service address in ServiceUrl
property.
ADO.NET DataService enables programmatic data access over the Web with very minimal
efforts, which includes support for sorting, filtering and paging. It also includes
native support for data transactions such as insert, update, delete, as well as
more advanced operation such as batch update.
ClientBinding™ fully takes advantage of Astoria capabilities and implement direct
interface to access Astoria’s functionalities. As a result, you are not required
to specify any of the service methods.
However, the current ADO.NET DataService doesn’t support complete paging feature
yet. You will need to use the AllData mode when using AdoDataService type.