I hope this link stays up: http://tekpub.com/view/conc... This video explains in a very clear way, how to use Ninject and what IoC (inversion of control) and DI (dependency injection) are. Recommended for anyone who doesn't know anything about those (yet). I wish I'd have found the video back when I was first trying to lace up Ninject into my code. Would have saved me some time, it's faster to understand than the guide Ninject has.Though very similar, it just is clearer and quicker to grasp...
So I've read "Singleton I love you, but you're bringing me down" at http://www.codingwithoutcom... and the articles it refers to. And it makes sense, basically. In my latest code, I created one Singleton (see http://geekswithblogs.net/A... ) and had it hold the reference to my global factory, which, I guess, makes it a service locator. The factory itself uses (and hides from the rest of the code) Ninject 2.0....