Click here to Skip to main content
15,936,565 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)

I am developing the WCF REST API for mobile app which required the request and response format in the JSON.
Response has the common format like this
"errorDescription":"blah blah",
"methodName":{"To":"", "subject":"", }

if Method name is GetName then
response would be :

here method name is dynamic as per the method call.

So How can I get above dynamic format from each WCF Rest API method.?


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900