Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Visiting the /Error page from a link displays the page for a second while prerending and then falls back to a Not Found. Here's a demo:
firefox_hqeNJA4AqM.mp4
Expected Behavior
The page should be built in a way that will work on both client and server.
Steps To Reproduce
- Create a new Blazor Web App project with interactivity type Auto and interactivity location Global.
- If using RC2 instead of RTM, move the Error page from client to server as described here Creating a new Blazor Web App NET8 RC2 with WebAssembly Interactivity creates broken Error.razor page in Client project #51352 (comment)
- Add an
<a href="/Error">
to the home page. - Run the app and click on the link.
Exceptions (if any)
No response
.NET Version
8.0.100-rc.2.23502.2
Anything else?
No response
Activity