ASP.NET Core – Resolving proper implementation in runtime using Autofac

A few days ago I faced an interesting problem. In a nutshell, I had one interface implemented by three classes:     All dependencies were registered in ASP.NET Core container. Now we come to the tricky part. Each HTTP request...