blog/keyed-services-dotnet-advanced-di/ #67
Replies: 2 comments 1 reply
-
Thank y 8000 ou Mukesh, This is really insightful. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I would like to ask this seems to replace factory and strategy patterns right? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
blog/keyed-services-dotnet-advanced-di/
Keyed Services in .NET 8 make it easier to work with multiple implementations of the same interface. Instead of writing custom factories or using service locators, you can now register and resolve services by a simple key. This makes your code cleaner, easier to manage, and more flexible. In this article, you’ll learn what Keyed Services are, how to use them in real-world scenarios, and when to apply them in your projects.
https://codewithmukesh.com/blog/keyed-services-dotnet-advanced-di/
Beta Was this translation helpful? Give feedback.
All reactions