I hope someone can assist me in this issue. I've been struggling for a bit now and I'm not getting it right.
Basically, I have a WCF Service Library which contains various services. My idea is to display each service with it's base address on a WPF form (which is in a different namespace from the serviceLibrary) and the user must be able to selectively start\stop the hosting of each service.
I have managed (through reflection) to get all the services from the serviceLibrary into my WPF project and display them. They start and work fine.
All I want to do is to retrieve the ToString() property of each implemented service contract or even the Name attribute of the ServiceContract attribute of the Interface.
any suggestions\advice (even on the whole idea) will be greatly appreciated
EDIT: Additionally, how would I actually go about to add a list of available services from my service library and create a list of hosts for them which I can start\stop as i see fit?