I have a service in production. There are lots of clients. And I want to host the same service for the new clients using different binding and service behavior.
It seems that WCF runtime doesn't allow to put several service with the same name into the tag. If I'm not mistaken ServiceHostFactory (used by default in IIS activation process) maps the name Service attribute from the svc file to the name attribute of the tag in the web.config to get the binding and binding configuration parameters.
So, If I want to deploy the same service twice but using different service behaviors what should I do?
PS: The only way I can see is to implement the custom ServiceHostFactory.
Thanks.
web.configwith the different settings?? – marc_s Mar 10 '11 at 19:15