Question

I was trying to use the Azure .Net SDK version 1.7.1 from Github here (https://github.com/WindowsAzure/azure-sdk-for-net/tree/sdk_1.7.1) with the local development storage. There are some great features in the 1.7.1 SDK that I would like to use, however as soon as I used 1.7.1 DLL with my project, the tests that I had running against local dev storage, began failing with 400 - Bad Header error upon first access. After much effort, I figure out that changing the x-ms-version from "2012-02-12" to "2011-08-18" here:

In Constants.cs:

    internal const string TargetStorageVersion = "2011-08-18";

This got rid of the first problem, but now the GetBlobList with UseFlatBlobListing = true now fails with an error. Does this just not work with the 1.7 local dev storage? Or, is there something that I am missing?

Was it helpful?

Solution

From what I know you can't. Features available in the latest release of REST API (version 2012-02-12) like async copy blob, lease etc. are not supported by the storage emulator yet.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top