mercredi 4 mars 2015

How do I get to know about functions/methods detail of other windows services or DLL or executable from WCF service?

How do I get to know about functions/methods detail of other windows services or DLL or executable from WCF service?


Here is the description.


In my project I have several core services (windows services) which will perform different service (for instance, one will find machines available in the network and another one will collect data from the available machines).


In future we will have many more add-on services. So to support this design we have created dynamic WCF services. All the method details of core services will be added in *.xml file so that dynamic WCF service will read those details and then generate contracts and operations.


I know this could be a bad design and definitely not a long time solution. Instead I would like to get necessary information about each functions or methods specified in other core services and generate WCF operations on runtime.


But how to get those details from core services during runtime? These file type shall be executable or library file (*.exe or *.dll)? I know “Reflection“ may help in this scenario but not sure how?






Aucun commentaire:

Enregistrer un commentaire