Which IoC Container to use?
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,
You could read about comparaisons. Look at that thread : https://stackoverflow.com/questions/1140730/net-ioc-container-comparisons
I have worked with Spring.NET. I have heard about Autofac, StructureMap and Microsoft Unity as well which are quite similar .
It probably doesn't matter from a technical point of view. As you say, they're quite similar.
Spring.NET does not come from Microsoft. Stick with a Microsoft framework if using their full stack is important to you.
I've used the Java version of Spring for many years. I think it's excellent.
链接地址: http://www.djcxy.com/p/82142.html上一篇: 在使用IoC容器时,原始构造函数参数是一个坏主意吗?
下一篇: 使用哪个IoC容器?