Last post Feb 08, 2015 12:56 AM by Shawn - MSFT
Feb 05, 2015 01:55 PM|sushsudh|LINK
I have followed the below link
please direct how to return in JSON
Feb 05, 2015 02:31 PM|PatriceSc|LINK
Try perhaps http://blog.prabir.me/posts/json-in-classical-web-services-asmx
This is on my "exploration list" as I believe all this is not needed.
BTW if the service doesn't exists yet, ASMX might not be your best choice. You could consider to use
Feb 08, 2015 12:56 AM|Shawn - MSFT|LINK
In web service, there is a ScriptMethod method attribute that specifies JSON as the response format.
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string MethodName()
For more information, you could refer to the following link: