.NET - 你会建议在这一领域的初学者什么的IoC容器框架?你会、初学者、容器、框架

2023-09-04 01:42:14 作者:借风拥你。

在这方面有什么控件容器框架反转,你会推荐给初学者?

What Inversion of Control Container framework would you recommend to a beginner in this area?

推荐答案

詹姆斯·科瓦奇做了dnrtv的截屏在那里他展示了如何创建自己的IOC容器。我推荐给初学者,不是因为它是一定要使用的一个,但因为它显示了为什么你需要一个IOC容器,哪些基本功能的基础知识。在此之后,试图移动到温莎城堡或的结构图。

James Kovacs did a dnrtv screencast where he shows how to create your own IOC container. I recommend this to a beginner not because it's necessarily the one you want to use but because it shows the basics of why you need an IOC container and what the basic functionality is. After this, try moving on to Castle Windsor or Structure Map.