diff --git a/aspnetcore/blazor/fundamentals/navigation.md b/aspnetcore/blazor/fundamentals/navigation.md index 65412e463747..727db0c60643 100644 --- a/aspnetcore/blazor/fundamentals/navigation.md +++ b/aspnetcore/blazor/fundamentals/navigation.md @@ -1354,28 +1354,24 @@ For the following demonstration, a consistent, standard naming convention is use In the Razor markup of the `NavMenu` component (`NavMenu.razor`) under the default `Home` page, components are added from a collection: ```diff - + ``` The `GetRoutableComponents` method in the `@code` block: diff --git a/aspnetcore/blazor/tutorials/movie-database-app/part-3.md b/aspnetcore/blazor/tutorials/movie-database-app/part-3.md index f23ba0ea89d8..9a45855c6cb3 100644 --- a/aspnetcore/blazor/tutorials/movie-database-app/part-3.md +++ b/aspnetcore/blazor/tutorials/movie-database-app/part-3.md @@ -72,6 +72,70 @@ The component is built in `Components/Layout/NavMenu.razor`: +:::moniker range=">= aspnetcore-11.0" + +```razor + + + + + + + +``` + +:::moniker-end + +:::moniker range=">= aspnetcore-9.0 < aspnetcore-11.0" + +```razor + + + + + +``` + +:::moniker-end + +:::moniker range="< aspnetcore-9.0" + ```razor