Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <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>
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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