title: How to get public URL of Azure Files file?
body: <p>I am using Azure Files to store files for my Web Application, which I have previously mentioned <a href="https://stackoverflow.com/questions/34420008/azure-file-storage-indexing-solution">here</a>.</p>
  
  <p>I am currently processing the files/sub-directories within a directory, and outputting a navigation table so the user can navigate into sub-directories, and in the end, obtain said files. I'm doing this by using the methods described in the 'Access the file share programmatically' section of <a href="https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-files/#use-the-azure-portal-to-manage-a-file-share" rel="nofollow noreferrer">this Azure Documentation article</a>.</p>
  
  <blockquote>
    <p>My question is very simple, how can I, from my Web App, which is
    running in Azure app service, provide a <strong>public URL</strong> were the user
    can download/view the file?</p>
  </blockquote>
  
  <p>Please note, I would prefer that the file is <strong>not</strong> automatically downloaded, since most of the files would be a <code>.PDF</code>, and therefor preview-able in the browser.</p>