Blazor supports components with multiple `@page` directives (see [docs](https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/routing?view=aspnetcore-7.0#route-templates)). The `BlazorRouteDiscovery` class only supports a single `RouteAttribute` and thus throws an exception if more than one is defined.