Dependency Injection in .NET MAUI .NET MAUI uses the same container as ASP.NET Core. All service registration happens in on . The container is built once at startup and is immutable thereafter. When to Use - Registering services, ViewModels, and Pages in - Choosing between , , and - Wiring constructor injection for Pages and ViewModels - Leveraging Shell navigation to auto-resolve DI-registered Pages - Registering platform-specific service implementations with directives - Designing interfaces for testable service layers When Not to Use - XAML data-binding syntax or compiled bindings — use th…