title: upload files to Azure file storage from web app using rest api
body: <p>I have a web app that is currently using webforms, not MVC, which is going to be hosted on the Azure platform.</p>
  <p>The main function of this web app is to upload user files to Azure File Storage.</p>
  <p>The files may be pdf, mp3, etc., not simple text or data stream or data input.</p>
  <p>I am told to use Azure REST API to upload files, but I am really not familiar with it and can't find a good sample or tutorial or video online. The current documents from Microsoft reads like ?????? to me.</p>
  <p>Currently I just upload to a local folder, so the code looks like:
  <code>FileUpload1.PostedFile.SaveAs(Server.MapPath(&quot;fileupload\\&quot; + FileUpload1.FileName));</code>
  in C#;</p>
  <p>Where do I go from there? I think I am supposed to add a StorageConnectionString which looks like <code>DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=yyy</code>, which I already have.</p>
  <p>And then I should write some code like 'post' in C#?</p>