title: asp.net windows azure blob storage
body: <pre><code>protected void Button1_Click(object sender, EventArgs e)
          {
  
              CloudStorageAccount storageAccount = CloudStorageAccount.Parse(RoleEnvironment.GetConfigurationSettingValue("blobconn"));
  
              CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
  
  
              // Retrieve a reference to a container 
              CloudBlobContainer container = blobClient.GetContainerReference("mamta");
  
  //everything fine till here ; next line creates an exception :( wat to do
  
              // Create the container if it doesn't already exist
              container.CreateIfNotExist();
          }
  </code></pre>