Ninject.Extensions.Interception now supports DynamicProxy2

by Ian Davis on January 23, 2010

in Announcement

Seeing that people wanted to use Castle DynamicProxy2 with Ninject for interception, I ported the support from Ninject 1.5 and we now have support for using DynamicProxy2 built-in for the Ninject 2.0 extension.

DynamicProxy2:

IKernel kernel = new StandardKernel(new DynamicProxy2Module());

LinFu:

IKernel kernel = new StandardKernel(new LinFuModule());

Note: Breaking Change!!!
InterceptionModule is now abstract. The proxy specific modules need to be used now. This base module is used to wire up the interception pipeline leaving inheritors to only registry proxy factories.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • email
  • LinkedIn
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter
blog comments powered by Disqus

Previous post:

Next post: