I want Ajax-ly to retrieve JSON data from some kind of web service. (A web service call will terminate the SQL call, process the returned DataSet, and return the JSON view.) Initially, I thought that an ASP.NET MVC project with the appropriate Controllers and Actions names that JsonResults returned would be sufficient. However, a colleague suggested WCF better approach something similar. In my experience, WCF is hard to configure; In addition, the MVC method provides actions through controllers, it seems very elegant.
Which is better for what I'm trying to do, MVC or WCF?
json web-services asp.net-mvc wcf
Pwninstein
source share