Dependency Injection for Silverlight with Ninject

Oct
7

I’m speaking at the XAMLFest in Houston today and there have been several questions around how we did our automatic dependency injection in our Silverlight applications and the tools other tools that I recommend.

I updated my recommended tools for Silverlight on Delicious and

We use Ninject for DI in Silverlight. Here’s a great blog post from Jonas Follesoe (a Microsoft Regional Director from Norway) on using Ninject to do Dependency Injection in Silverlight.

Seperation of Concerns - The way of a true master

I really like Jonas’ writing style, especially the way that he comments his code examples

Code illustrating my DataContext problem.

also… be sure to check out the very cool Expression Kolur plug in that he wrote. Awesome!

Blend add-in screenshot

Enjoy!

 
blog comments powered by Disqus

Caleb Jenkins, is a recognized Silverlight expert and Senior Architect Team Lead at Six Flags Corp, a National Speaker for INETA, a Technical Editor for Wrox Press and is a Microsoft MVP. He lives in the Dallas, TX area where he continues to date his beautiful wife and busy himself playing Candy Land and xBox 360 with their four incredible children. Eventually he’ll post some of the gazillion interviews that he's recorded on CommunityCast.tv or blog more... or stop speaking of himself in the third person. more...

If you're still reading this, then take a minute to subscribe to my RSS feed or sign up to receive updates by email