Acerca de
This Claude Code skill provides specialized guidance for implementing Dependency Injection (DI) using the standard Microsoft.Extensions.DependencyInjection library and GenericHost. It helps developers set up service containers, manage service lifetimes (Singleton, Scoped, Transient), and apply best practices like constructor injection while avoiding anti-patterns like the Service Locator. Ideal for modernizing WPF applications or building robust console-based services, this skill ensures clean architecture and testable code within the .NET ecosystem.