Where would one bootstrap StrucureMap in a WCF service? Completely lost here at the moment....
+2
A:
This dimecast should give you everything you need to know http://www.dimecasts.net/Casts/CastDetails/150
from the blog entry:
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
lomaxx
2009-11-12 22:24:39
Thank you very much!!
Bob
2009-11-12 22:41:37
+1 for dimecasts reference. Dependency injection and factories are useful in context of WCF IMO
Perpetualcoder
2009-11-13 18:11:11