Note that there are some explanatory texts on larger screens.

plurals
  1. POCan I use paging when getting service identities from ACS
    primarykey
    data
    text
    <p><strong>Background</strong> I require a list of all the service identity names I have registered in the Azure ACS. I have an Azure Management Service reference I got from <a href="https://myaccesscontrol.accesscontrol.windows.net/v2/mgmt/service" rel="nofollow">https://myaccesscontrol.accesscontrol.windows.net/v2/mgmt/service</a>. The “myaccesscontrol” prefix is arbitrary, for this discussion. You could use a different subscription namespace prefix and get the same results, if I understand correctly. This is the service endpoint that Azure gives me when I subscribe. It exposes a ManagementService interface. When I get a list of service identities</p> <pre><code> DataServiceQuery&lt;ServiceIdentity&gt; identities = managementService.ServiceIdentities; </code></pre> <p>I get back an object that has a count of all the identities I expect. When I expand the list I get the first 50. This is typical of a paged response, and I expect that there is a continuation token that will allow me to get the next “page”.</p> <p><strong>Problem</strong> I can’t see how the ManagementServiceReference.ManagementService interface can be used to obtain a continuation token.</p> <p><strong>Discussion</strong> How to: Load Paged Results (WCF Data Services) at <a href="http://msdn.microsoft.com/en-us/library/ee358711.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ee358711.aspx</a> provides an example where a QueryOperationResponse response from LINQ context can be queried for continuation with token = response.GetContinuation() The QueryOperationResponse is retrieved from a LINQ context Execute().</p> <p>In some Azure sample code I have, there are examples of paging for blobs, tables, and queues, where data is collected in a ResultSegment. A ResultSegment has a Boolean HasMoreResults member, a ResultContinuationToken ContinuationToken member, and methods that accept and maintain these to support paging operations.</p> <p>I don’t see how to obtain a Continuation from a DataServiceQuery. I don’t see that the ManagementServiceReference.ManagementService exposed by Azure supports a paged list of service identities, even though the service is, apparently, paging the results it sends me. Can you point me to the right article that will show me how the DataServiceQuery can be treated in a way that I get a Continuation back?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload