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

A possible bug in Blazor .NET 8 - the page 'error' in the new Blazor Web App (WebAssembly) template redirects to 404

$
0
0

To reproduce:

Create Blazor Web App (WebAssembly) in .NET 8 and choose GLOBAL interactivity location (this is the most important thing):enter image description here

you will have that project structure:

enter image description here

Now run application and open "/error" page, firstly you will see the error page and after 1 second you will be redirected to Not found page:

enter image description here

The problem exists only in GLOBAL interactivity location, not in per page/component interactivity location. You can even create your own new page in Components/Pages and when you try to open that page in a browser you will be also redirected to Not found page.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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