Maui Dependency Injection

Configure dependency injection in .NET MAUI apps — service registration in MauiProgram.cs, lifetime selection, constructor injection, Shell navigation auto-resolution, platform-specific registrations, and testability patterns.

.NET (Microsoft) Updated 22.1k repo stars

File contents

dotnet/skills commit 72af853455

Frequently asked questions

npx get-skill add dotnet/maui-dependency-injection