title: Writing application log files in azure blob storage
body: <p>Currently I'm logging in blob storage by creating a List of string that i want to log and when the number of strings in the list crosses a number convert the list to a byte array and calling CloudBlockBlob.UploadFromStream..</p>
  
  <p>I have recently come to know that I can also write to the blob directly one line at a time without creating the list of log-lines <a href="http://msdn.microsoft.com/en-us/magazine/dn745862.aspx" rel="nofollow noreferrer">here</a>.The article shows 'await destinationStream.WriteAsync'.</p>
  
  <p>I would sincerely appreciate if someone could guide me as to how to shift towards this style..</p>
  
  <p>I found a similar <a href="https://stackoverflow.com/questions/9401725/example-of-writing-byte-array-of-different-size-sequentially-to-a-blob-in-window">question</a> asked a couple of years back but no answers to the same as well..</p>
  
  <p>Thanks</p>