使用哪个 IoC 容器?
我正在选择一个 IoC 容器来注入我的应用程序依赖项。
我曾使用过 Spring.NET。我也听说过 Autofac、StructureMap 和 Microsoft Unity,它们非常相似。
您建议使用哪种 IoC 容器?为什么?
非常感谢,
I'm in the process of choosing an IoC container to inject my application dependencies.
I have worked with Spring.NET. I have heard about Autofac, StructureMap and Microsoft Unity as well which are quite similar .
Which IoC container would you recommend to use and why?
Many thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
发布评论
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
您可以阅读有关比较的内容。查看该线程: https://stackoverflow.com/questions/1140730/net-ioc-container-comparisons
You could read about comparaisons. Look at that thread : https://stackoverflow.com/questions/1140730/net-ioc-container-comparisons