title: How to track progress of async file upload to azure storage
body: <p>Is there way to track the file upload progress to an Azure storage container?  I am trying to make a console application for uploading data to Azure using C#.  </p>
  
  <p>My current code looks like this:  </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using Microsoft.WindowsAzure.Storage;
  using Microsoft.WindowsAzure.Storage.Auth;
  using Microsoft.WindowsAzure.Storage.Blob;
  using System.Configuration;
  using System.IO;
  using System.Threading;
  
  namespace AdoAzure
  {
      class Program
      {
          static void Main(string[] args)
          {
              CloudStorageAccount storageAccount = CloudStorageAccount.Parse(
              ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString);
              CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
              CloudBlobContainer container = blobClient.GetContainerReference("adokontajnerneki");
              container.CreateIfNotExists();
              CloudBlobClient myBlobClient = storageAccount.CreateCloudBlobClient();
              CloudBlockBlob myBlob = container.GetBlockBlobReference("racuni.adt");
              CancellationToken ca = new CancellationToken();
              var ado = myBlob.UploadFromFileAsync(@"c:\bo\racuni.adt", FileMode.Open, ca);
              Console.WriteLine(ado.Status); //Does Not Help Much
              ado.ContinueWith(t =&gt;
              {
                  Console.WriteLine("It is over"); //this is working OK
              });
              Console.WriteLine(ado.Status); //Does Not Help Much
              Console.WriteLine("theEnd");
              Console.ReadKey();
          }
      }
  }
  </code></pre>
  
  <p>This piece of code works well, but I'd love to have some kind of progress bar, so users can see that there are running tasks. Is there something built into WindowsAzure.Storage.Blob namespace that I can use, like a rabbit from a hat?</p>