D
D
Denis Kharchenko2016-08-10 09:38:05
C++ / C#
Denis Kharchenko, 2016-08-10 09:38:05

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

2 answer(s)
D
Denis Kharchenko, 2016-08-11
@itprodavets

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.

A
AxisPod, 2016-08-10
@AxisPod

It’s hard to believe that the built-in one will be more functional than autofac, and even if you’re used to autofac, you don’t want to use something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question