Can I use Ninject to instantiate singleton services that nothing depends on?
I have some services in my asp.net mvc application that listen for AMQP messages and invoke methods. No controllers depend on this, so it won't get instantiated on its own. I could instantiate it manually, explicitly providing its dependencies with kernel.Get but it feels like I shouldn't have to do that. Can I make Ninject instantiate classes in singleton scope eagerly even when nothing else depends on it? You cannot have ninject instantiate stuff in case you don't ask it to instantiate something yourself. The simple way is to ask ninject to instantiate things at composition root: var kernel