Which .NET dependency injection framework do you u

2020-02-09 18:26发布

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...

7条回答
\"骚年 ilove
2楼-- · 2020-02-09 19:18

Use Windsor or Unity, and decide based on a POC

Unity is not so bloated up so far, you could go with that based on your project type - especially if you are using unity dependent frameworks like CompositeWPF

See another thread on SO about the same, Enterprise Library Unity vs Other IoC Containers

查看更多
登录 后发表回答