title: Is it possible to have different StructureMap configurations for ASP.NET and IIS-Hosted WCF?
body: <p>I just followed <a href="http://www.lostechies.com/blogs/jimmy_bogard/archive/2008/07/29/integrating-structuremap-with-wcf.aspx" rel="nofollow noreferrer">this example</a> to bootstrap WCF with StructureMap.  At the same time I've been using StructureMap in my ASP.NET application (IIS6), which is initialized in Global.asax.Application_Start().  </p>
  
  <p>The two configurations have different requirements.  Unfortunately, StructureMap is configured statically, and contrary to my expectations it's shared between the web app and WCF.  As a result, the last "Initialize()" called wins!</p>
  
  <p>Is it possible to give each one its own configuration?  Or is the only solution to fold them together?</p>