Part 2/5: Push and display images in real-time from your windows phone media library using SignalR to an azure hosted website.

Setting up an Azure blob storage container for hosting uploaded images

Azure blob storage provides a platform for storing large amounts of unstructured data. Think of your traditional FTP space, except that with Azure blob storage, you get added platform benefits such as geo replication, HTTP/HTTS access, automated backup and disaster recovery and access statistics.

This part of the tutorial assumes that you have a valid Windows Azure account.

Creating a blob Storage

  1. Sign-on to the portal at
  2. Select the Storage option on the left hand pane
  3. Select the “new” option at the bottom of the portal
  4. Select Quick create
  5. You will need to specify a unique url for your container, I have opted for “phonetoweb”
  6. Select the appropriate location/affinity group near you.
  7. You may leave the “Enable Geo-Replication” option ticked
  8. Select Create account


When you have completed this process, your blob storage account name should now be listed within the list of storage items on the portal.

Creating a blob container

The previous steps created a blob storage account. We now need to create a container within it, this is akin to creating a folder on a Hard Drive. A blob container access can be currently configured to have the following read access

  1. Select the storage account within the list, and select the “Containers” tab
  2. Select the “Create a container option”
  3. Provide a container name, such as “photos”
  4. Select a “Public container” option for the access type.



Container access keys

An access key is required to upload images to an azure blob storage container. Let’s take a note of the access key which would be required on the phone client when we get to part 4 of this tutorial.

Select “configure” on the Blob storage account and then “Manage Access Keys.” Take a note of the primary access key.



We should now have a publicly available azure blob container where we can upload images.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>