Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StructureMap (or any IoC) and WCF

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

like image 273
Bob Avatar asked Oct 15 '22 12:10

Bob


1 Answers

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

like image 174
lomaxx Avatar answered Nov 04 '22 01:11

lomaxx