As with a standard ASP.NET MVC, Blazor routing is a technique for inspecting the browser’s URL and matching it up to a page to render.

Routing is more flexible than simply matching a URL to a page. It allows us to match based on patterns of text so that, for example, both URLs in the preceding image will map to the same component and pass in an ID for context (either a 1 or a 4 in this example).