So in my last blob related post, I setup the code so that I could simply call the Create Container action on the Blob Rest API.
My next step is to upload a picture file to that container. Now, you won't need to change much of the code, but as we are now starting to expand the number of actions we are performing, it starts to make sense to refactor the single implementation to cover multiple implementations.
For the next part of my application, I've encapsulated the basic functionality I need to deal with blobs into two classes, BlobRequest and BlobResponse.
Now the main crux of the BlobRequest class, that does the heavy lifting, is:
Now, some things to remember, you could almost call them gotchas:
My next task is to continue building out the BlobRequest functionality and implement a WebRole for uploading and displaying my photos. :)