So I have read the article about dependency injection about Asp.net core:https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection?view=aspnetcore-2.1
But I don't see how it do the inversion of dependency
The way of the binding interface to the concrete class in the StartUp class ConfigureService method means that your main project has to reference whatever dependency is injected to. And what even worse, if your dependency reference the main project(use its models for example), you will get into circular dependency doing this way. Is there any way that you can inject the dependency from a separate third project(assembly)? How can you avoid this?