Last post Aug 01, 2014 12:14 PM by cubangt
Aug 01, 2014 10:55 AM|cubangt|LINK
So we have an internal web application we have been working on and using as the months have past, now we have been asked to add a few web service calls to this app so that another team in the office can build a iPhone app to interact with this application.
It will be simple services to return record details and functions to approve and decline requests. It also needs to be able to authenticate.
The entire application is all .NET C# code behind, SQL DB, so could we approach this web service like any other, that we have done before, by that I mean can I create a webservice written in C# that can be accessed and used by the other team? or are we going
to have to create something different for them?
Aug 01, 2014 11:45 AM|twice|LINK
See http://www.asp.net/web-api - it doesn't get any better than that.
Aug 01, 2014 11:51 AM|cubangt|LINK
If im reading some of the page right in the link provided, is the Web-API almost a way to create a page that is accessible from any platform? I mean I just need to create a way for the other team to make requests to return record details and send data back
to the application...
they will be the ones creating the application that will use the service.
After reading some more, should we stick with ASMX web service or WCF Data Service?
Aug 01, 2014 12:03 PM|twice|LINK
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients. Almost any platform that you can think of has an HTTP library, so HTTP services can reach a broad range of clients, including browsers,
mobile devices, and traditional desktop applications.
You don't necessarily need to create a webpage in the traditional sense even though you do have the option - the application can simply call the service directly. I think Web API is well suited for the task but do your own research and see what fits - there's
lots of great resources out there. I have used it myself some time ago for an android web service.
Aug 01, 2014 12:14 PM|cubangt|LINK