6 posts about Keyed Services by 6 contributors.
Know Keyed Services? Share what you know with developers who are learning it.
Practical guide to ASP.NET Core DI: lifetimes, constructor vs. property injection, Options, TryAdd, avoiding captive deps, IServiceScopeFactory, IAsyncDisposable, and .NET 9 AOT.
Keyed Services in .NET 8 enhance dependency injection by allowing multiple implementations of an interface to be registered with unique keys. This enables flexible dependency resolution, ideal for tailored service instances in applications.
Keyed Service Dependency Injection in .NET allows services to be registered and resolved using unique keys, improving flexibility in scenarios where multiple implementations of an interface are required.
.NET 8 introduces Keyed Services in Dependency Injection, enabling registration of multiple implementations for the same interface using a key. Enhance flexibility in dependency injection for dynamic application development.
.NET 8 introduces native support for keyed services in Dependency Injection (DI), eliminating the need for third-party packages. Learn about registering and resolving keyed services with examples for better understanding.
Learn how to register and resolve keyed services in .NET 8 dependency injection, with an example that selects local or cloud data storage implementations.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article