Is it possible to change WCF service without regenerating & recompiling client proxy?

Posted by Buu Nguyen on Stack Overflow See other posts from Stack Overflow or by Buu Nguyen
Published on 2010-04-01T08:06:29Z Indexed on 2010/04/01 8:13 UTC
Read the original article Hit count: 280

Filed under:

Let's say I have a WCF service which has a method returning object Person. In one of the clients of this service, I can add service reference to the service and start using its method.

Now, let's say the Person class is changed on the server, having a new DataMember added. Other clients will make use of this new DataMember, but my client doesn't. Therefore, this client shouldn't even be aware that the service returns s/t "more" than what it needs.

Is there any way that my client can still work with the service without having to update the service reference (which, as I understand, means regenerating the proxy & compiling it)?

© Stack Overflow or respective owner

Related posts about wcf