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