I am using DiscoveryEndpoints in WCF but I have noticed that when a service is being discovered and the DiscoveryEndpoint is contacted it will actually cause an instance of the service to be created. I do not want this.
This is almost certainly related to the fact I am using a custom instance provider (to support StructureMap) - which applies custom InstanceProvider to each EndpointDispatcher.
It seems I only want to apply the custom InstanceProvider for the endpoints whose contract actually match the service implementation.
Any ideas?