In Unity I can register multiple implementation of a given interface and later I can choose which implementation must be injected using a [Dependency("key")] attribute.
How can I achieve this in ASP.NET Core, using a key or using a factory?
In Unity I can register multiple implementation of a given interface and later I can choose which implementation must be injected using a [Dependency("key")] attribute.
How can I achieve this in ASP.NET Core, using a key or using a factory?