Running a ServiceHost with a single contract is working fine like this:
servicehost = new ServiceHost(typeof(MyService1));
servicehost.AddServiceEndpoint(typ
I found another solution to for this issue by using a the RoutingService class. Each contract must still be hosted in it's own ServiceHost
, but there can be a RoutingService
sitting on top of all of them - and presenting them over an unified "endpoint". I've also written a codeproject article about it. The example code is also available on Bitbucket.