Tuesday, October 14, 2014

Excellent IoC comparison benchmark for .NET

I was Googling around to see how much the performance suffers from dependency injection with interceptors, I came across this excellent post by Daniel Palme, who compares a bunch of IoC containers for .NET.

Turns out, Ninject isn't all that fast. We've been using it for all our projects, but after reading this post, I'll be looking into LightInject. It seems to support all my use cases: MVC, WebAPI ( with InRequestScope ) and interceptor support.






No comments:

Post a Comment