Ninject with WCF and Aspect Oriented Programming Interception

0 Flares Twitter 0 Facebook 0 StumbleUpon 0 Google+ 0 LinkedIn 0 0 Flares ×
This week I’ve taken my first dive into an IOC container by looking at Ninject. I’ve been toying with this for some time and have struggled to understand the actual cost benefit. There’s a few really interesting debates on this, and I’m still on the fence! Having manually coded dependency injection for years, I’m still unconvinced of the benefits of an IOC container – its not hard to implement dependency injection, and sometimes the ioc containers seem to complicate things – but I figured the best way to make my mind up was to give it a go.
I chose Ninject as everything I’ve read suggests its one of the simplest ones to get up and running. It wasn’t just because its includes lots of references to ninja’s – honest!! I also chose to install using NuGet – which is brilliant by the way!!!
Links
This is a great article for getting started with the ninject wcf extension: http://www.aaronstannard.com/post/2011/08/16/dependency-injection-ninject-wcf-service.aspx
Nice couple of articles for using ninject for AOP:

, ,

The Essential App Marketing Kit
Subscribe To My Newsletter To Get an Entire Chapter From The Book for FREE
Never display this again
0 Flares Twitter 0 Facebook 0 StumbleUpon 0 Google+ 0 LinkedIn 0 0 Flares ×