ASP.NET Core Endpoint Routing Integration

Blazor Server integrates with ASP.NET Core endpoint routing via MapBlazorHub:

app.UseRouting();

app.MapBlazorHub();
app.MapFallbackToPage("/_Host");