score:0

try to delete 'static' keyword from method signature.

score:1

instead of returning json data, try to write the data and also tell the browser about data by sending header information like:

httpcontext.current.response.contenttype = "application/json";
httpcontext.current.response.addheader("content-encoding", "utf8");
httpcontext.current.response.write(returndata);

Related Query

More Query from same tag