Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try this code. Code assumes that all blobs in your blob container are of type block blobs.</p> <h1>Storage Client Library 2.0:</h1> <pre><code> CloudStorageAccount storageAccount = CloudStorageAccount.DevelopmentStorageAccount; CloudBlobContainer blobContainer = storageAccount.CreateCloudBlobClient().GetContainerReference("images"); var blobs = blobContainer.ListBlobs(null, true, BlobListingDetails.All).Cast&lt;CloudBlockBlob&gt;(); foreach (var blockBlob in blobs) { Console.WriteLine("Name: " + blockBlob.Name); Console.WriteLine("Size: " + blockBlob.Properties.Length); Console.WriteLine("Content type: " + blockBlob.Properties.ContentType); Console.WriteLine("Download location: " + blockBlob.Uri); Console.WriteLine("======================================="); } </code></pre> <h1>Storage Client Library 1.7:</h1> <pre><code> CloudStorageAccount storageAccount = CloudStorageAccount.DevelopmentStorageAccount; CloudBlobContainer blobContainer = storageAccount.CreateCloudBlobClient().GetContainerReference("images"); var blobs = blobContainer.ListBlobs(new BlobRequestOptions() { BlobListingDetails = BlobListingDetails.All, UseFlatBlobListing = true, }).Cast&lt;CloudBlockBlob&gt;(); foreach (var blockBlob in blobs) { Console.WriteLine("Name: " + blockBlob.Name); Console.WriteLine("Size: " + blockBlob.Properties.Length); Console.WriteLine("Content type: " + blockBlob.Properties.ContentType); Console.WriteLine("Download location: " + blockBlob.Uri); Console.WriteLine("======================================="); } </code></pre>
 

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