This article presents to you a C# application which will get a list of blob files from an Azure Storage. The key part of this method is the container name and the connection string. Thankfully the container is created by you, therefore, you should know the name and the connection string is available to copy on the Azure Storage portal.
So let's begin by creating a console application Visual Studio and adding the following entry in the App.config.(Optional you can use the string in your code without the need for App.config too)
In your main program add these namespaces
We start by creating a BLOB client which needs the CloudStorageAccount object using the connection string
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
Every file resides in a container which you must have created earlier, in my case it is called "notes". If not already there then create it.
CloudBlobContainer container = blobClient.GetContainerReference("notes");
Then it is simply a case of looping over the the list of blob collection and print out the properties