title: Reading and Writing text file in Azure Storage
body: <p>Following is the code to first save a line of text,into a text file,present in azure storage, and then read it and print .</p>
  
  <pre><code>string firstString = "this \t is \n a \t line \n are: ";            
  
              using (var memoryStream = new MemoryStream())
              {
                  memoryStream.Write(System.Text.Encoding.UTF8.GetBytes(firstString), 0, System.Text.Encoding.UTF8.GetBytes(firstString).Length);
                  blockBlob.UploadFromStream(memoryStream);
              }
  
              string text;
              using (var memoryStream = new MemoryStream())
              {
                  blockBlob.DownloadToStream(memoryStream);
                  text = System.Text.Encoding.UTF8.GetString(memoryStream.ToArray());
                  Trace.WriteLine(text);
              }
  </code></pre>
  
  <p>Problem is that nothing gets printed in the Trace.Writeline() Statement.</p>
  
  <p>First i thought,that it might be a encoding issue,so i changed the format of my text file from ASCII to UTF8, but still nothing gets printed.
  WHat am i missing here,any help is appreciated.</p>