Hi there, I was looking into default endpoints and they seem nice. But how do I add such an endpoint for MetadataExchange? I thought it'd be something like the following pasted code, but it doesn't work. Get all sorts of errors, like no address set or "IMetadataExchange
isn't known contract, add behavior". Now I do now how to add the correct behavior and such, but I thought the default endpoint could do this?
Type serviceType = typeof(EmailValidator);
Uri serviceUri = new Uri("http://localhost:8080/");
ServiceHost host = new ServiceHost(serviceType, serviceUri);
host.Open();Dennis van der Stelt
View Complete Post