Introduction
How to Write Text to a CloudBlockBlob in Windows Azure Blob Storage
Technology

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.

Robert Greiner
Author

Robert Greiner

Professional optimist. Passionate about cultivating high-performing teams @ scale by integrating the timeless wisdom of the past with the marvel of today's emergent technology in a practical way.

View Comments
Next Post

Remote

Previous Post

3 Books Every Software Developer Should Have Already Read

Subscribe for free

Subscribe to my newsletter and get the latest posts delivered right to your inbox for free. I don't spam and your email won't be shared with third-parties.

Thanks for subscribing!

Check your inbox to confirm your subscription.

Please enter a valid email address!