::: moniker range="= aspnetcore-5.0" > [!NOTE] > With the release of ASP.NET Core 5.0.1 and for any additional 5.x releases, the `Router` component includes the `PreferExactMatches` parameter set to `@true`. For more information, see . ::: moniker-end