windows - Append text to Blob in Azure -


After watching this tutorial on Blobs, I think of using a Blob Container to save a group of Tweets It was that Jason of every tweet) Ideally I would like to create a blob reference for each hour of the day, and add new tweets to this blog as soon as they come. The point is that the method overwrites existing content of the string blob, there is a simple way to add text to existing blob?

Thank you!

  Fun (Jason: string) - & gt; Let's account = cloud storage acc. Pars (roll environment. Gat configuration setting value ("Datacension String")) Let's blobs = account.CreateCloudBlobClient (); TempBlob = blobs.GetBlobReference ("Tweets / 2010-9-26 / 17 / 201092617.txt") tempBlob.Properties.ContentType & lt; - "text / plain" tempBlob.UploadText (json)  

page blocks This is the way to go for this requirement (vs Block Blobs)

You create Blocks with Blob Operation:

Then you can use a page page operation You can add "Pages":

Page Blobs has been paired with one page, which is copied from traditional file systems immediately and more accurately.

Block Blobs is going to expect a more direct construction, and two-step submission / committed construction is required. Once compiled, you have to type in the blob again. Block blocks are designed to streamline (loose definition) content, as a reading / writing store, versus page blokes added to support those scenarios.


Comments