Answer the question
In order to leave comments, you need to log in
What is better to use dependency injection or autofac in ASP.NET Core?
Good afternoon, colleagues.
Who has already used IoC in ASP.NET Core? I've always used autofac, now I'm faced with the fact that by default there is already dependency injection in the asp.net core project. Is it worth using or is it better to cut it out?
Thanks, best regards.
Answer the question
In order to leave comments, you need to log in
The finished project with the implementation of autofac + ASP.NET Core is here .
Corrected errors.
Who knows a better solution, please write a comment on the code.
Thank you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question