Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

.asp files in wwwroot in a Blazor app not displaying in browser

$
0
0

I've created a Blazor app and set it to run on IIS 10 and it works fine.

However I have some old .asp files that I would like to be available too and have placed them in the wwwroot folder. When I try to view them in a browser I get a 404 error. Html, msi, json files work as expected in the same wwwroot folder just not .asp files.

If I stop my Blazor site in IIS and start up the default site and browse to .asp files, these display correctly so I think that asp is set up correctly on the server.Is there any reason why I can't show .asp pages?Do I need to add anything into program.cs to allow them to display?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>