diff --git a/aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app.md b/aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app.md index 4f7740178c..88251eb1aa 100644 --- a/aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app.md +++ b/aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app.md @@ -531,11 +531,24 @@ Dependency injection is used to obtain the implementations of these services. In the MAUI project, the `MauiProgram.cs` file has following `using` statements at the top of the file: +:::moniker range=">= aspnetcore-9.0" + ```csharp using MauiBlazorWeb.Services; using MauiBlazorWeb.Shared.Interfaces; ``` +:::moniker-end + +:::moniker range="< aspnetcore-9.0" + +```csharp +using MauiBlazorWeb.Maui.Services; +using MauiBlazorWeb.Shared.Interfaces; +``` + +:::moniker-end + Immediately before the call to `builder.Build()`, `FormFactor` is registered to add device-specific services used by the RCL: ```csharp