你使用哪个.NET依赖注入框架? [英] Which .NET dependency injection framework do you use?

查看:119
本文介绍了你使用哪个.NET依赖注入框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,有很多DI / IoC框架在.NET中( http: //www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx )。
我觉得很难选择。因此,我想衡量舆论,看哪个框架是最受欢迎的 - 所以请在这里发布你最喜欢的框架,让人们投票...

解决方案

我目前正在使用 Castle.Windsor 。主要是因为它与Rhino Tools库的集成。


Currently there are quite a few DI/IoC-frameworks for .NET out there (http://www.hanselman.com/blog/ListOfNETDependencyInjectionContainersIOC.aspx). I find it quite hard to choose. Therefore I wanted to measure the public opinion and see which framework is the most popular - so please post your favorite framework here and let the people vote...

解决方案

I'm currently using Castle.Windsor. Mainly because of the integration it has with the Rhino Tools library.

这篇关于你使用哪个.NET依赖注入框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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