Version 1.0 Release

Feb 21, 2011 at 1:06 AM
Edited Feb 21, 2011 at 1:12 AM

I decided to put these Windows Azure Storage samples up for 3 reasons:

  1. First of all, they're part of the code samples for my upcoming book, The Windows Azure Handbook, Volume 3: Development.
  2. Second, although there is a lot of good online information and blogging about Windows Azure Storage, there doesn't seem to be a single sample you can download that does "everything". The Windows Azure SDK used to have a sample like this but no longer does.
  3. Third, I wanted to give complete side-by-side implementations of the REST and .NET StorageClient library approaches so they can be easily compared by developers so they can decide which approach will be best for them.

These initial samples are all in C# but I would like to add other languages over time (and would welcome assistance in porting).

Please do speak up if you encounter bugs, flaws, omissions in the samples -- or if you have suggestions.

David Pallmann



Sep 22, 2011 at 8:19 AM

This is a great sample David. The REST API is also very useful if you want to connect to the Azure storage from a Silverlight App where you can't reference the Azure SDK assemblies. I had to change though the HttpWebRequest to use BeginGetRequestStream and provide an AsyncCallBack. Would be good if you provided with both sync and async modes.

In addition, I am connecting to my blob stoage using https and the BlobHelper class supports only http (again, I changed that easily and it worked fine :-)).

One question I would to ask you - if I want to uplaod an image using the the PutBlob method, I have noticed that the content parameter is of a String type. Does that mean I need to convert my image to base64 string and send that to the PutBlob method or is there another way to do that ?

Thx again form for this great sample.