User1080785583 posted
How can I publish a folder with 4GB of files in it to azure separately from original deployment? I am doing this with code but I would like to maybe convert a block blob list of files back to a azure website file location...
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
// Retrieve reference to a previously created container.
CloudBlobContainer container = blobClient.GetContainerReference(Name);
// Retrieve reference to a blob named "myblob".
CloudBlockBlob blockBlob = container.GetBlockBlobReference("jellyfish.jpg");
var loc = Directory.GetCurrentDirectory() + @"/App_Data/Jellyfish.jpg";
// Create or overwrite the "jellyfish.png" blob with contents from a local file.
using (var fileStream = System.IO.File.OpenRead(loc))
{
blockBlob.UploadFromStream(fileStream);
}