TokenToSeaSkills Hub
中文 Console

Maui Dependency Injection

dotnet

Guidance for configuring dependency injection in .NET MAUI apps — service registration in MauiProgram.cs, lifetime selection (Singleton / Transient / Scoped), constructor injection, Shell navigation auto-resolution, platform-specific registrations, and testability patterns.

Install

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