Monday November 30th

Friday November 27th

How to use Ninject to inject dependencies into ASP.NET MVC ActionFilte

Simone shows us how to use Ninjet to inject dependencies to ASP.NET MVC.


Actually the post is about injecting dependencies inside ActionFilters, not just Controllers, which is a topic I covered in a previous post.
Injecting insice ActionFilters is not something that comes out of the box. The post explains how to write the custom ActionInvoker to do it.

Sweet, this is the right way to inject!

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network