-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When navigating to routes provided by a Razor Class Library (RCL), the page initially loads correctly. However, after a few seconds, it automatically redirects to the NotFound page.
Details
Render mode: InteractiveAuto
Interactivity location: Global
Blazor type: Web App (Server + WebAssembly)
Issue scope: Only occurs for routes defined in a Razor Class Library. Routes in the main app work as expected.
Expected Behavior
The RCL route should remain stable and interactive without redirecting to the NotFound page.
Steps To Reproduce
- Create a Razor Class Library (RCL) that defines one or more routable components (e.g., @page "/test").
- Reference the RCL from the main Blazor Web App.
- Configure the app to use InteractiveAuto render mode with Global interactivity.
- Run the app and navigate to the RCL route (e.g., /test).
Observe that:
- The page loads correctly at first.
- After a few seconds, it redirects to the NotFound page automatically.
Exceptions (if any)
No response
.NET Version
.NET 10 rc1
Anything else?
No response
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion