home/categories/architecture-patterns/aaronontheweb-dotnet-skills-skills-microsoft-extensions-dependency-injection-skill-md
architecture-patternsdevelopment
dependency-injection-patterns
Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.
maintainer
Aaronontheweb
Mis à jour 2/21/2026
Étoiles
761
Forks
72
quick start
Installation and usage
Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.
Installation
$ install --globalskills.sh
Utilisation
Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :
skills use dependency-injection-patterns