Describe the bug
Blazor server SignalR disconnects when a component is included in both a razor page and a layout page.
To Reproduce
Steps to reproduce the behavior:
- Using this version of ASP.NET Core '3.0'
- Create a new asp.net core web application
- Add blazor.server.js to layout page.
- Add MapBlazorHub() and AddServerSideBlazor() to Startup
- Add a component to both the layout page and a razor page
Expected behavior
Blazor components rendered on razor pages should function normally when a component is included in the layout.
Example App
Example App