WCF: How do I get the list of endpoints from ServiceHost?
Question
I can add endpoints using ServiceHost.AddServiceEndpoint
. How do I get that list of endpoints back out?
Solution
Use host.Description.Endpoints
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow