A HostBuilder is the configuration object behind a .NET MAUI application's startup flow. MauiProgram.CreateMauiApp creates it, configures the application, and builds the MauiApp that runs the app. section 2.3
A typical startup sequence is:
- Register the application with UseMauiApp<App>(). section 2.3
MauiProgram.cs
var builder = MauiApp.CreateBuilder(); builder .UseMauiApp<App>() .ConfigureFonts(fonts => { /* font registrations */ }); return builder.Build();

