Skip to content

Instantly share code, notes, and snippets.

Justin Clareburt justcla

  • Google
  • Seattle, WA, USA
Block or report user

Report or block justcla

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
justcla / StorageHelper.cs
Created Feb 8, 2018
Helper class (C#) returns a list of filenames for all files in a given blob container (Azure Storage)
View StorageHelper.cs
public async Task<List<string>> GetBlobFileListAsync(string storageConnectionString, string containerName)
// Get Reference to Blob Container
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(storageConnectionString);
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer container = blobClient.GetContainerReference(containerName);
// Fetch info about files in the container
You can’t perform that action at this time.