After updating my version of Azure Storage Explorer, my code stops working with the following message:
"The REST version of this request is not supported by this version of Storage Emulator. Update the storage emulator to the Latest version. For more information, see the following URL: http://go.microsoft.com/fwlink/?LinkId=392237 "
My version of Azure Storage Explorer is 0.8.16.
Basically, the code for loading in azure tends to look like this:
CloudStorageAccount storageAccount = CloudStorageAccount.Parse("UseDevelopmentStorage=true"); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer blobContainer = blobClient.GetContainerReference("mycontainer"); blobContainer.CreateIfNotExistsAsync(); CloudBlockBlob blockBlob = this.blobContainer.GetBlockBlobReference(fileName); byte[] CoverImageBytes = null; BinaryReader reader = new BinaryReader(file.OpenReadStream()); CoverImageBytes = reader.ReadBytes((int)file.Length); await blockBlob.UploadFromByteArrayAsync(CoverImageBytes, 0,(int)file.Length);
An exception is selected in the last row.
UPDATE
1) What version of storage emulator are you using?
V5.1
2) In your code, what version of the client store library are you using?
8.4.0 here
source share