@AgaveJoe I checked on my second computer - the same problem BUT the problem exists ONLY if you choose Global interactivity location:
A bug?? -> .NET 8 - the page 'error' in the new Blazor Web App (WebAssembly) redirects to 404
aleksw
6
Reputation points
If you create the new Blazor Web App (WebAssembly) in .NET 8 you will see that structure:
Now run application and open "/error" page, firstly you will see the error page:
and then you will be redirected to 404 page:
Is this a bug ??
3 answers
Sort by: Most helpful
-
aleksw 6 Reputation points
2024-02-25T05:14:37.09+00:00 -
-
Florin Paraschivescu 0 Reputation points
2024-03-15T15:15:37.9266667+00:00 hey,
they way I manage to make use of 404 to work correctly when RenderMode.InteractiveServer is set was by adding back the <NotFound> tag in Routes.razor. They say that this should no longer be used (only for WASM or so). Hope this helps.