title: How to get applicationPath from HttpContext.Request in dotnet core 3.0
body: <p>I need to fetch data from HttpContext.Request in my custom middleware to provide public url for application assets. </p>
  
  <p>How can you get <code>StoreName</code> &amp; <code>FilePath</code> from this path:</p>
  
  <p><code>http://example.com/api/fileService/storage/{StoreName}/{path/to/file}</code></p>
  
  <p>This case needs new route template? I'm student, sorry for newbie question.</p>