How i can use the wcf service in Visual Studio 2010 and fetch data from database in the json format? -
i confused. how can use wcf database show results in json format? how can use wcf service in visual studio 2010 , fetch data database , result in json format?
this wcf web http services - making content available @ non-soap endpoints. here's helpful writeup on how write simple service returning json, written user, @visualstuart.
of note endpoint configuration in web.config, specifies data format returned:
<standardendpoints> <webhttpendpoint> <standardendpoint name="" defaultoutgoingresponseformat="json"/> </webhttpendpoint> </standardendpoints>
Comments
Post a Comment