I would like to provide a contract to work in my WCF library, which returns the selected information, that is, version, assembly name, some other internal values.
The goal is to provide a "Service Check" method for diagnostics and one that can be called like a regular WCF.
Itβs hard for me to figure out how to do this. I imagine some kind of internal reflection.
I would also like to put this code in the interface as part of the operation contract.
What is the best way to do this?
source share