CloudAppendBlob AppendTextAsync keeps overwriting my blob data, not appending it

I am attempting to use the new CloudAppendBlob in the latest C# Azure Storage library (5.0.0 stable and 5.0.1-preview) but my unit tests keep failing when using the AppendTestAsync method. Whenever I run my unit tests with the Async call (see below) the data appears to get overwritten, not appended i.e. the blob only contains the last string written to it.

await appendBlob.AppendTextAsync(base64EncodedBson + Base64Delimitter);

Using the call below works fine though, albeit I cannot take advantage of async code.

appendBlob.AppendText(base64EncodedBson + Base64Delimitter);

Am I missing something or is this a bug in the library? I tried searching on GitHub but nothing obvious shows itself:

Azure Storage repo on Github

I'm running the tests from a class library project in the latest version of VS2015.

August 24th, 2015 3:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics