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

What is the Proper Way to Configure Blazor Web App Navigation to Handle 404?

$
0
0

I have converted my Blazor Server-side Application to the new Blazor Web App project. Everything works as expected except for when I navigate to a view that does not exist.

I can reproduce what I am experiencing by creating a default Blazor Web App project in Visual Studio, launching via F5, and navigating to /somepaththatdoesnotexist (or any URL that does not exist).

What I experience is a blank white page.

What is the recommended configuration to restore the "not found" experience of the previous Blazor Server-side projects?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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