Re: Register the same Service multiple times, from XML and Installer (to allow overriding them from XML)

2015-04-20 Thread hammett
If you try Component.ForYourComponent().Named(somethingelse) It should work. That said, your composition will still use the first one registered, unless you rewire things somehow. That's why the xml config works, because it's registering stuff before everything else. If you change the key there

Register the same Service multiple times, from XML and Installer (to allow overriding them from XML)

2015-04-20 Thread BhaaL DoesNotUseGplus
In my application, i use the following Install call: container.Install(Configuration.FromAppConfig(), FromAssembly.This()); In the most preferable case, the app.config has an empty configuration block, with everything else being done by Installer classes. However, one reason why I'd like the

Re: WcfFacility, ConcurrencyMode ServiceBehavior attribute

2015-04-20 Thread rioka
I've just verified that, using my code, InstanceContextMode is set to PerSession and ConcurrencyMode is set to Single, so I'm probably registering the services the wrong way... :( Il giorno lunedì 20 aprile 2015 16:22:06 UTC+2, rioka ha scritto: I'd like to integrate Castle Windsor into a set

WcfFacility, ConcurrencyMode ServiceBehavior attribute

2015-04-20 Thread rioka
I'd like to integrate Castle Windsor into a set of existing Wcf services. I've started with some sample services, and step by step added The official documentation states *If you are switching from WCF activation to Windsor's WcfFacility, please make sure to remove the ServiceBehavior