Click here to Skip to main content
15,436,928 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

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?

Updated 28-Mar-12 21:27pm

1 solution

Share this answer
PJ du Preez 29-Mar-12 5:25am    
Thanks, I'll have a look

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900