IoC容器中,之间的差异 [英] differences between IoC containers

查看:171
本文介绍了IoC容器中,之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找关于如何选择一个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?

更新:有一个问题(<一href="http://stackoverflow.com/questions/411660/enterprise-library-unity-vs-other-ioc-containers">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.

最大

这篇关于IoC容器中,之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆