Is WCF Supports object as returntpe ?
Can any one say whether WCF Service support object as return type of function
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sudheer KumarPosted Sep 3, 2013, 6:04 AM
For WCF REST services support object serialization. If you return a Detail object, it will automatically be serialized to JSON/XML. But you can't return a general object. You must specify the type.
Ref: http://social.msdn.microsoft.com/Forums/vstudio/en-US/1f43e9b4-39a4-481b-88f0-18c7d4416745/how-do-i-return-a-object-at-runtime-in-my-c-web-servicerest-or-can-i-have-a-return-type-of