Reputation: 4461
I have simple WCF Service Application (based on this tutorial http://msdn.microsoft.com/en-us/library/ms734712.aspx ).
Is it possible to write function that passes/returns my own class?
Upvotes: 2
Views: 1588
Reputation: 9356
Yes, till the time your class is Serializable, you can pass it back. Recommended way is to use Data Contracts. See
Upvotes: 3