Compile-time DI auto-registration for .NET — [Scoped]/[Singleton]/[Transient] generates IServiceCollection registration code at build time. Zero reflection, AOT-safe.
-
Updated
Aug 7, 2026 - C#
Compile-time DI auto-registration for .NET — [Scoped]/[Singleton]/[Transient] generates IServiceCollection registration code at build time. Zero reflection, AOT-safe.
This project demonstrates how to implement automatic custom keyed service registration using the `IServiceCollection` extension method.
Keyed Services in .NET — replace switch/if-else blocks with keyed dependency injection for cleaner runtime implementation selection
This an Net Core Web Application that includes service lifetimes representation using services.
A lightweight .NET library for executing asynchronous operations with configurable retry policies, backoff strategies, per-attempt timeouts, cancellation support, and dependency injection integration.
To associate your repository with the keyed-services topic, visit your repo's landing page and select "manage topics."