Showing posts from November, 2017

How to Fix Corrupted File When Using DownloadToStream in Azure Blob Storage

I have a case where I need to move a blob file on Azure Storage from one folder to another. My C# code looks like the following: public static bool Move ( string sourceFileName, string destinationFileName ) { try { //Retrieve storage account from connection string. CloudStorageAccount storAcc = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting( "AzureStorageConnectionString" )); //Create the blob client. CloudBlobClient blobClient = storAcc.CreateCloudBlobClient(); …

Load More
That is All