How to Create a JSON WebService in ASP.NET

Posted by Kirubakaranb.Tech under ASP.NET on 11/15/2013 | Points: 10 | Views : 23217 | Status : [Member] | Replies : 3
User to give a name to send that name as json format to asp.net and to display matched name details into database to display matched data into json and xml format using webservice and asp.net


Example Format:


[{"Age":35,"FirstName":"Peyton","LastName":"Manning"},
{"Age":31,"FirstName":"Drew","LastName":"Brees"},
{"Age":58,"FirstName":"Brett","LastName":"Favre"}]

pls give me some idea




Responses

Posted by: Bandi on: 11/15/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://forums.asp.net/p/1924293/5461018.aspx?how+to+create+JSON+webservice+in+asp+net+
http://www.aspsnippets.com/Articles/Send-and-Receive-JSON-objects-to-Web-Service-Methods-using-jQuery-AJAX-in-ASPNet.aspx

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Kirubakaranb.Tech, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 11/18/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
You can see the below link:-

http://www.codeproject.com/Articles/45275/Create-a-JSON-WebService-in-ASP-NET-2-0-with-a-jQu
http://www.codeproject.com/Articles/667524/JSON-ASP-NET-Web-Services-with-jQuery


Happy Coding,
If it helps you or directs U towards the solution, MARK IT AS ANSWER

Kirubakaranb.Tech, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: t5j9033387989 on: 11/29/2013 [Member] Starter | Points: 25

Up
0
Down
check this one,

nice solution is given in it,

http://stackoverflow.com/questions/18175261/how-to-create-a-json-webservice-in-c-sharp-asp-net-with-a-valid-json-output-and

mark this answer if it will really help you,

Thanks&Regards
ketan

Kirubakaranb.Tech, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response