1
Answer

WCF - client deserialization

Ryan Minor

Ryan Minor

14y
4k
1
Hi there I understand that with WCF you decorate a Service Contract and expose members with OperationContract. Question is: if you create an operation contract for a method like: public SomeClass MyMethod() I understand that you decorate the SomeClass with DataContract attributes. Question - how does the client know about SomeClass? Does SomeClass need to be defined in the client code as well?

Answers (1)