I am curious for .NET developers, do you implement dependency inject for your solutions/projects and if so are you using Unity, Ninject or another library for injection.
Printable View
I am curious for .NET developers, do you implement dependency inject for your solutions/projects and if so are you using Unity, Ninject or another library for injection.
I generally try and use it as a pattern because it aids flexibility. I don't use any framework though.
I just sort of saw the light with it over the last year, after struggling with the concepts for 3-4 years. I don't use a DI container, just Poor Man's Injection. Currently struggling with a legacy project that is a mixture of "We don't use DI" and "We have a DI container that we pass as an argument to some classes".