在 WCF 服务中,在哪里引导 StrucureMap?此刻完全迷失在这里....
最佳答案
这个 dimecast 应该给你你需要知道的一切 http://www.dimecasts.net/Casts/CastDetails/150
来自博客条目:
When building out a set of services in WCF you still would like to follow the SOLID principles and in order to do this you may want to setup the ability to inject dependencies (via Structure Map) into your services at run time. With WCF extension points this is not only possible, but pretty easy
关于c# - StructureMap(或任何 IoC)和 WCF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1725659/