Question

ashok patel1992 on Mon, 08 May 2017 06:19:36


I have 30000 images in blob storage and I want to fetch the images in descending order of modified date. | Is there any way to fetch it by the chunk of 1000 images per call

here is my code but this take too much time.basically can i ListBlobs() sort by LastUpdated date?

CloudBlobContainer rootContainer = blobClient.GetContainerReference("installations"); CloudBlobDirectory dir1; var items = rootContainer.ListBlobs(id + "/Cameras/" + camId.ToString() + "/", false);

foreach (var blob in items.OfType().OrderByDescending(b => b.Properties.LastModified).Skip(1000).Take(500)) {

}


Sponsored