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.

Aaronontheweb
maintainer
Aaronontheweb
آخر تحديث 2/21/2026
النجوم
761
التفرعات
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.

التثبيت
$ install --globalskills.sh
الاستخدام

بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:

skills use dependency-injection-patterns