Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is ninject considered a container?

I was talking with someone and mentioned I was learning IOC and was using ninject to get the feel for things.

He asked me what container I was using? I told him ninject.

Having no idea what he was referring to, I know there is castle windsor products that are more popular.

Can someone clear this up for me? What am I missing here?

like image 694
mrblah Avatar asked Nov 25 '25 02:11

mrblah


1 Answers

Yes, Ninject is an IoC/DI Container framework/library.

There's a great post by Scott Hanselman that lists many of the .NET DI Container libraries. See also Dependency injection for an explanation of containers (injectors).

like image 95
TrueWill Avatar answered Nov 27 '25 22:11

TrueWill



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!