Can I return JSON from an .asmx Web Service if the ContentType is not JSON?

If you will use WFC RESTfull Service instead of .asmx webservice you can implement all your requirements from your question. But usage of .asmx webservice with JSON as output required that you use at least contentType: ‘application/json’. In different places you can find as a reason – security reason (see JSON Hijacking). Probably ‘x-www-form-urlencoded’ is … Read more