O'Reilly logo

Microsoft Azure Development Cookbook Second Edition by Neil Mackenzie, Roberto Freato

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Going inside continuation tokens and segmented queries

As we saw in the Using continuation tokens and server-side paging recipe, the Azure Storage library offers the capability to automatically handle the server-side pagination for queries that go over some boundaries (more than 1,000 entities, cross partition, and so on). Also, the library offers, through the concept of segmented queries, the capability to control the query process deeply, one iteration at a time.

Both Method1 and the Method2 have this capability through the ExecuteSegmented method of the TableServiceQuery<T> and TableQuery<T> classes, respectively. In addition, as the Azure Storage library uses the Common Language Runtime (CLR), this method is also provided with the Asynchronous ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required