Mocking a Wcf ServiceContract

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-05-18T08:17:19Z Indexed on 2010/05/18 8:20 UTC
Read the original article Hit count: 317

Filed under:
|

I want to mock a ServiceContract. The problem is that Moq (and Castle Dynamic-Proxy) copies the attributes from the interface to the dynamic proxy which Wcf don't like. Wcf sais: The ServiceContractAttribute should only be define on either the interface or the implementation, not both.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about moq