Azure.Storage.BlobStorageAsync.AddDataToAppendBlockBlob C# (CSharp) Method

AddDataToAppendBlockBlob() public method

Adds data to the end of an Append blob. Should be used within a single writer as the code is not optimised for concurrent writers
public AddDataToAppendBlockBlob ( string blobId, string data ) : Task
blobId string
data string
return Task
        public async Task<string> AddDataToAppendBlockBlob(string blobId, string data)
        {
            var appendBlob = cloudBlobContainer.GetAppendBlobReference(blobId);
            await appendBlob.AppendTextAsync(data);

            return appendBlob.Uri.ToString();
        }
    }