简体   繁体   中英

StructureMap (or any IoC) and WCF

Where would one bootstrap StrucureMap in a WCF service? Completely lost here at the moment....

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM