9.5. WDS 1.5

WDS version 1.5 is included with VS2010 and adds a number of features, such as the ability to limit the number of data items returned and the ability to produce web-friendly feeds (mapping of AtomPub items).

NOTE

The team even says in the future that they are looking at implementing an offline mode for WDS.

9.5.1. RowCount and Server-Driven Paging

One of the main issues when working with WDS previously was that there was no way of knowing how many results would be returned. This made it impossible to page through data and work with WDS efficiently. WDS 1.5 now offers the ability to query how many results are returned through the $count and $inlinecount operators.

9.5.1.1. $count

$count will return just a single text value indicating ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.