c# - Build JSON REST api/webservices in vs2010 or vs2012 that will consumed by ajax clients in mobile devices -
i have existing web application builded 2 years ago vs2010 asp.net web forms, c# , sql server 2008 .now want build mobile version , install in mobile devices. want develop using jquery ajax, jquery mobile , apache cordova. simple question how can build serialize database json rest api/webservices in vs2010 or vs2012 consumed ajax clients in mobile devices ???
thanks all
i recommend webapi. because of following reasons.
if need web service , don’t need soap, asp.net web api best choice. used build simple, non-soap-based http services on top of existing wcf message pipeline. doesn't have tedious , extensive configuration wcf rest service. simple service creation web api. wcf rest services, service creation difficult. based on http , easy define, expose , consume in rest-ful way. light weight architecture , devices have limited bandwidth smart phones. open source.
tutorial here. http://channel9.msdn.com/events/build/2014/3-603
Comments
Post a Comment