-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MapBlazorHub #2
Comments
I am not 100% sure it has to be that way - but it works. :) This ticket may contain some hints: dotnet/aspnetcore#38545 I also found some relevant discussion here: https://mikaelkoskinen.net/post/combining-razor-blazor-pages-single-asp-net-core-3-application |
Thank you :) |
@gertcoet I looked into this a little deeper, because I noticed I was getting console messages like this: So I thought, let's try your suggestion above. In my case, this results in my pages not being found. Not sure what is happening behind the scenes, but I suspect it's something routing-related. I get blank white screens, it seems _Host is generating its normal html wrapper but there's no content to plug in. No errors. No chatter about websockets being connected. I would not mind knowing more about this if you happen to understand it. It seems I am landing back on my initial position though: endpoints.MapBlazorHub("/Blazor/_blazor") just seems to work. |
hi, can you tell me why you are doing this endpoints.MapBlazorHub("/Blazor/_blazor"); and not just endpoints.MapBlazorHub("/Blazor"); Why does the last version not work?
392e3ed
The text was updated successfully, but these errors were encountered: