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 11:44am

Hi Roger,

According to your description, your case more related to Azure Storage, I will move your case

 

Microsoft AzureAzure Storage forum for better support.

Best regards,

Kristin

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2015 10:09pm

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

Other recent topics Other recent topics