Add methods to generated WCF client proxy code

Posted by dcstraw on Stack Overflow See other posts from Stack Overflow or by dcstraw
Published on 2010-05-28T17:00:23Z Indexed on 2010/05/28 17:22 UTC
Read the original article Hit count: 227

I'd like to add one additional method for each service operation in my WCF client proxy code (i.e. the generated class that derives from ClientBase). I have written a Visual Studio extension that has an IOperationContractGenerationExtension implementation, but this interface only seems to expose the ability to modify the service interface, not the ClientBase-derived class.

Is there any way to generate new methods in the proxy client class?

© Stack Overflow or respective owner

Related posts about code-generation

Related posts about wcf-client