IoC容器中,之间的差异容器、差异、IoC

2023-09-03 17:28:28 作者:难过也不愿放手的爱

我在寻找关于如何选择一个IoC容器ASP.NET MVC应用程序的指导。

I'm looking for some guidance about how to chose an IoC container for an ASP.NET MVC application.

之间有什么区别(例如)StructureMap,Ninject,温莎城堡,统一,autofac和其他人?任何人都可以提供一些线索或链接的资源,可以帮助艇员选拔一个库?

What are the differences between (for example) StructureMap, Ninject, Castle Windsor, Unity, autofac and others? Can anyone give some hints or links to resource that might help chosing one library?

更新:有一个问题(http://stackoverflow.com/questions/411660/enterprise-library-unity-vs-other-ioc-containers)其中谈到在IOC容器的初始化的不同之处。

Update: there is one question (http://stackoverflow.com/questions/411660/enterprise-library-unity-vs-other-ioc-containers) which talks about the differences in the initialization of the IoC containers.

但是否有任何功能的不同,这会使得一些IoC容器中,为ASP.NET MVC应用程序更好的选择?

But are there any differences in functionality, which would make some IoC containers a better choice for an ASP.NET MVC application?

推荐答案

下面是一个乐于助人的博客文章的比较可在.NET中的各种国际奥委会框架之间的特点,我不知道,有关于MVC有利于一个容器在另一个但任何事情。

Here's a helpful blog post that compares features between the various IOC frameworks available in .Net, I don't know that there's anything about MVC that favors one container over another though.

最大