Last post Jul 30, 2016 03:54 PM by imran_ku07
Jul 22, 2016 07:31 PM|AlaminMahamud|LINK
As we all know In asp.net Startup class there is a method
ConfigureServices we can add custom Services. Services are made available through Dependency Injection.
ASP.NET Core includes a simple built-in inversion of control (IoC) container that supports constructor injection by default, but can be easily replaced with your IoC container of choice. In addition to its loose coupling benefit,
DI makes services available throughout your app
My Question is how to Replace Built in IoC with my Own IoC?
Jul 22, 2016 07:50 PM|maherjendoubi|LINK
The built-in services container is mean to serve the basic needs of the framework and most consumer applications built on it. However, developers who wish to replace the built-in container with their preferred container can easily do so. The ConfigureServices method
typically returnsvoid, but if its signature is changed to return IServiceProvider, a different container
can be configured and returned.
Jul 30, 2016 03:54 PM|imran_ku07|LINK
If you are asking how to make custom IOC that is compatible with ASP.NET Core then check http://pakrym.com/aspnetcore-dependency-container/