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
अपडेट किया गया 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