title: Blazor wasm not serving static files from wwwroot after deploying to IIS
body: <p>I'm developing a <code>.net 5.0 blazor wasm</code> application. When I run the app form visual studio using <code>IIS Express</code> and navigate to <code>https://localhost:5001/docs/simple.pdf</code>, the file is served in browser.</p>
  <p>However the same does not work after deploying the blazor wasm app to <code>IIS</code>. I'm not getting any error instead my <code>Not Found</code> Route template screen gets loaded.</p>
  <p><strong>Here is the screen prints:</strong></p>
  <p><strong><code>wwwroot</code> of blazor wasm app:</strong></p>
  <p><a href="https://i.stack.imgur.com/W4uai.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W4uai.png" alt="enter image description here" /></a></p>
  <p><strong><code>IISExpress</code> loading the document:</strong></p>
  <p><a href="https://i.stack.imgur.com/XQwJg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XQwJg.png" alt="enter image description here" /></a></p>
  <p><strong><code>IIS virtual directory</code> path:</strong></p>
  <p><a href="https://i.stack.imgur.com/Gx0le.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gx0le.png" alt="enter image description here" /></a></p>
  <p><strong><code>IIS</code> not loading the document and display <code>NotFound</code> Route template:</strong></p>
  <p><a href="https://i.stack.imgur.com/HXSfX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HXSfX.png" alt="enter image description here" /></a></p>
  <p>I also noticed none of the files in <code>wwwroot</code> is not directly accessible in browser in <code>IIS</code>. Please assist on what I'm missing.</p>