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
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
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
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