Implement a check for version compatibility between Emulator and WindowsAzure.Storage library
Implement a check for version compatibility between Emulator and WindowsAzure.Storage library.
When there is an update of WindowsAzure.Storage nuget package and I update it I frequently start getting 400 Bad request from the library.
The last time was just calling container..CreateIfNotExists(BlobContainerPublicAccessType.Off);
Then I spent an hour investigating the strange behavior until I tried to install the latest Emulator. Then the exception disappeared.
This type of exception has come to me again and again for the last 4 years.
My humble request if anybody from Microsoft Azure Storage Emulator team sees this - Please add a check for development mode and throw a meaningful exception with the message like - "You have Azure Storage Emulator version X.Y.Z installed. In order to use the current WindowsAzure.Storage library with Azure Emulator you need to install version Z.Z.Z from this link". or whatever you consider useful.
Ognyan Dimitrov commented
You can see that these two stackoverflow posts are viewed more then 50k times :
And these two are just the first I stumbled upon.