asp.net mvc - Ninject vs Unity for DI -
We are using ASP.NET MVC.
Which of these best de frameworks is Nungect or Unity and why?
The last time I saw one of them, I found that the foundation is slightly better. But there are drawbacks of both.
Ninject is a better fluency-configuration plan Unity seems to rely on most XML configurations Ninject's main drawback is that you need to reference the niv. [Injection] Refer your code everywhere to add attributes.
If I can ask, why are you limiting your choice for these options? I think that Castle.Windsor, Autofac and StructureMap are at least good or better.
Comments
Post a Comment