How to return Json from WCF Service?

前端 未结 2 1215
半阙折子戏
半阙折子戏 2020-12-19 03:14

I have the piece of code below of a template Ajax enabled WCF service. What can i do to make it return JSon instead of XML? thanks.

using System; 
using Sys         


        
2条回答
提交回复
热议问题