asp.net mvc - What's the best practice .net Architecture for a single simple json web service? -


so know of 3 .net architecture's can provide json data in form of web service:

1) classic asmx web service
2) asp.net mvc action returns json result.
3) wcf
(also there way use asp.net web forms ajax, i'm not going there)

i've worked 3 before, , seems classic asmx web service right pick job. i'm not sure if web services preferred way of providing json data in .net environment anymore.

the project have 1 web service , nothing else, @ point.

what's microsoft (tm) preferred architecture of creating simple json web service these days?

if application asp.net mvc application, don't need else. create controller returns jsonresult class

also, give wcf web api try : http://wcf.codeplex.com/releases/view/64449

watch of videos of glenn block here;

http://channel9.msdn.com/events/mix/mix11/frm14

http://channel9.msdn.com/events/devdays/devdays-2011-netherlands/devdays103


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -