How to check WCF generated client is compatible with service at runtime

Posted by Schneider on Stack Overflow See other posts from Stack Overflow or by Schneider
Published on 2010-06-07T05:08:21Z Indexed on 2010/06/07 5:12 UTC
Read the original article Hit count: 189

Filed under:
|

I realise that WCF and services in general are meant to be loosely coupled.

But I have a requirement that my client app can check whether an given WCF endpoint contains a service that matches its generated client code. In other words I need to check for a compatible service.

Obviously I could have a method that returns a manually maintained version number, but I would prefer not to have to write my own meta data system if WCF can do something out of the box.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wcf