How to Write Text to a CloudBlockBlob in Windows Azure Blob Storage
I found myself wanting to write some text to Azure Blob Storage using the new Azure SDK 2.0. Things are a little different here, all of the stream methods from previous SDKs have been replaced by UploadFromStream()
.
This makes things cleaner in the future, and is a bit easier to use. However, your existing code might break when you upgrade to SDK 2.0. Here's the best way I've found to write text to a new file in Blob Storage.
Did this help? I'd love to hear about it.