title: Azure blob storage download file instead of opening in the browser
body: <p>I am uploading files to Azure blob storage using this code, where <code>container</code> is my CloudBlobContainer</p>
  
  <pre><code>    public void SaveFile(string blobPath, Stream stream)
      {
          stream.Seek(0, SeekOrigin.Begin);
          CloudBlockBlob blockBlob = container.GetBlockBlobReference(virtualPath);
  
          blockBlob.Properties.ContentDisposition = 
  "attachment; filename=" + Path.GetFileName(virtualPath);
  
          blockBlob.UploadFromStream(stream);
      }
  </code></pre>
  
  <p>Then when a user clicks on a file in my web page I am trying to trigger a download where they are prompted to either save/open the file. I do this by calling an Action which returns a redirect to the blob URL. </p>
  
  <pre><code>    public ActionResult LoadFile(string path)
      {    
          string url = StorageManager.GetBlobUrlFromName(path);
          return Redirect(url);
      }
  </code></pre>
  
  <p>The issue is this will open the files in the browser e.g. the user will be redirect away from my site and shown a .jpg file in the browser when I was expecting them to stay on my page but start downloading the file. </p>