So I know of 3 .net Architecture’s that can easily provide json data in the form of a web service:
1) Classic ASMX web service
2) ASP.NET MVC action that returns a json result.
3) WCF
(also there is probably a way to use ASP.NET Web Forms AJAX, but I’m not going there)
I’ve worked with all 3 before, and it seems like a Classic ASMX web service is the right pick for this job. But I’m not sure if web services are the preferred way of providing json data in a .net environment anymore.
The project will just have one web service and nothing else, at this point.
What’s the microsoft ™ preferred Architecture of creating a simple json web service these days?
If your application is an ASP.NET MVC application, you don’t need anything else. Just create a controller which returns JsonResult class
Also, you could give WCF Web API a try : http://wcf.codeplex.com/releases/view/64449
Watch some of the videos of Glenn Block here;
http://channel9.msdn.com/Events/MIX/MIX11/FRM14
http://channel9.msdn.com/Events/DevDays/DevDays-2011-Netherlands/Devdays103