How to Resolve Multiple Dependency Injection Implementations of the Same Interface in .NET

preview_player
Показать описание

I will talk about one interesting challenge we all faced in our .NET projects - resolving multiple implementations of the same interface with the dependency injection.

You will see that using the default dependency injection container offered by ASP.NET Core may reveal that the task, I will talk about, is more challenging than it initially appears.

Well, let’s see it with an example.

LINKS MENTIONED IN THE VIDEO

FOLLOW US ON SOCIAL MEDIA!
Рекомендации по теме
Комментарии
Автор

Thank you all for watching and for your support.

CodeMaze
Автор

I have been using the resolver pattern, but the keyed services are pretty cool, saves you the stress of keeping track of those switch cases. Awesome content. Thanks

ugochukwuumerie
Автор

I have been looking for this for so long thanks! ❤

gy_ch