Accepted answer

as you already stated in your question, the skip method is not implemented in windows azure table storage. this means you have 2 options left:

option 1

download all data from table storage (by using tolist, see abatishchev's answer) and execute the skip and take methods on this complete list. in your question you're talking about 500 records. if the number of records doesn't grow too much this solution should be ok for you, just make sure that all records have the same partition key.

if the data grows you can still use this approach, but i suggest you evaluate a caching solution to store all the records instead of loading them from table storage over and over again (this will improve the performance, but don't expect this to work with very large amounts of data). caching is possible in windows azure using:

option 2

the cloudtablequery class allows you to query for data, but more important to receive a continuation token to build a paging implementation. this allows you to detect if you can query for more data, the pagination example on scott's blogpost (see nemensv's comment) uses this.

for more information on continuation tokens i suggest you take a look at jim's blogpost: azure@home part 7: asynchronous table storage pagination. by using continuation tokens you only download the data for the current page meaning it will also work correctly even if you have millions of records. but you have to know the downside of using continuation tokens:

  • this won't work with the skip method out of the box, so it might not be a solution for you.
  • no page 'numbers', because you only know if there's more data (not how much)
  • no way to count all records


try something like this:


this should return records 201-300:





if paging is not supported by the underlying engine, the only way to implement it is to load all the data into memory and then perform paging:

var list = cityservice.get("0001i").tolist(); // meterialize
var result = list.skip(x).take(y);

Related Query

More Query from same tag