title: How to query Cloud Blobs on Windows Azure Storage
body: <p>I am using Microsoft.WindowsAzure.StorageClient to manipulate blobs on Azure storage. I have come to the point where the user needs to list the uploaded files and modify/delete them.
  Since there are many files in one container, what is the best way to query azure storage services to return only the desired files. Also, I would like to be able to return only specific number of blobs so I can implement paging.</p>
  
  <p>There is a method called ListBlobs in the CloudBlobContainer, but it seems like it's returning all of the blobs in the container. That will not work for me.</p>
  
  <p>I searched a lot on this topic and could not find anything useful. This <a href="http://www.windowsazure.com/en-us/develop/net/how-to-guides/blob-storage/" rel="noreferrer">link</a> shows only the basics.</p>
  
  <p>--------- EDIT</p>
  
  <p>My answer below does not retrieve the blobs lazily, but it retrieves all of the blobs in the container and then filters the result.
  Currently there is no solution for retrieving blobs lazily.</p>