We all probably know how to inject an instance of the interface to the class using dependency injection in ASP.NET Core. But how can we inject all instances of the interface to some class, let’s say, controller, using dependency injection? The trick is simple and it’s shown in this blog post.

Bharat Dwarkani shared on Aug 18, 2019
image
gunnarpeipman.com
bookmarks
share
visibility5
visibility5 share bookmarks
add