title: How to upload image from local system to azure blob storage in c#
body: <p>I am trying to upload a image file from local system to azure blob storage using c#. Below is the code I am using:</p>
  
  <pre><code>string storageConnectionString = "&lt;connection_string&gt;";
  CloudStorageAccount storageacc = CloudStorageAccount.Parse(storageConnectionString);
  
  CloudBlobClient blobClient = storageacc.CreateCloudBlobClient();
  CloudBlobContainer container = blobClient.GetContainerReference("myblob");
  container.CreateIfNotExists();
  
  CloudBlockBlob blockBlob = container.GetBlockBlobReference("images");
  
  using (var filestream = System.IO.File.OpenRead(@"C:\\Users\\John\\Desktop\\11173.jpg"))
  {
      blockBlob.UploadFromStream(filestream);
  }
  </code></pre>
  
  <p>I am trying to create container with name <code>myblob</code> which I can see is created. Inside it I create a blob with name <code>images</code> and then upload the image file in it. But I cannot see image file in it. Whats wrong in the above code. How can I upload image files into blob storage. Please help. Thanks</p>