Strona głównaDaj się poznać 2017

I created few projects in my solution. I have models, services, tests and webApi project. I added LoginController which uses Services, but it uses it by interfaces. I need to use dependency injection to resolve it for me. I decided to add Autofac. It is IoC container which allow us to register all types and it’s implementations, to inject specific types for us. In the last year I wrote post how to add Autofac to ASP.NET MVC app, but post is in Polish and adding Autofac to .NET Core app is slighty differe...

Źródło: jakubskoczen.pl
Dziel się z innymi:
[EN] How to add Autofac container to ASP.NET Core app? - Jakub Skoczeń

Daj się poznać 2017 2580 dni, 23 godziny, 44 minuty temu qbasko 78 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu