When firing up a new Blazor Server App with .NET 8 Preview, the following error was occurring. An unhandled exception occurred while processing the request. InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area: }. Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointMatcherPolicy.ApplyAsync(HttpContext httpContext, CandidateSet candidates) To resolve, the project file can be updated with References https://github.com/dotnet/aspnetcore/issues/36535#issuecomment-919861308 More info available on UseRazorSourceGenerator at https://learn.microsoft.com/en-us/aspnet/core/razor-pages/sdk?view=aspnetcore-7.0