Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
Autofac - 它满足您的大部分标准。
Autofac - it satisfies most of your criteria.
能否将软件设计得独立于容器在某种程度上取决于您选择的 IoC 容器。我选择 Autofac 正是因为委托工厂功能意味着您的大部分代码不需要依赖 Autofac。我不能代表其他人说话,因为我没有经常使用它们。
Whether you can design the software to be container-independent depends to some degree on your choice of IoC container. I chose Autofac precisely because the delegate factories feature means most of your code does not need to take a dependency on Autofac. I can't speak for the others as I haven't used them much.
我不认为你对结构图的爸爸会出错。
但是,如果您需要 Microsoft 支持,Unity 是一个令人信服的选择。
如果您关心“面向未来”,请选择开源。那么你就有了代码。
I don't think you can go wrong with the daddy, StructureMap.
However if you want Microsoft support, Unity is a compelling choice.
If you are concerned with 'future proofedness' go open source. You have the code then.