User-173651909 posted
I'm trying to upload a file to Azure blob storage, and I'm struggling with the MS article
here. Firstly I don't understand how you would set "path\myfile" in the code below (the file to upload).
// Create or overwrite the "myblob" blob with contents from a local file.
using (var fileStream = System.IO.File.OpenRead(@"path\myfile"))
{
blockBlob.UploadFromStream(fileStream);
}
Secondly, using a file browser control in the view how would you pass the value. It requires a string.
Thanks in advance
Adam