We're currently running our WCF services in a WAS environment and host NServiceBus in the same host by using App_Code\InitializeService.AppInitialize()
All works fine until we want to use our container in our message handlers with registrations lifestyled as PerWcfOperation. These registrations are out-of-scope for the bus, which is logical.
We are now looking for a way to
- Use the same container for the WCF services and NServiceBus
- Clone or partially reuse the container we have in the WCF service for NServiceBus
Any ideas?