I need to accept text and photo data from an iPhone app. Normally I would write a web service or a windows service with WCF for client server connections. I'm not familiar with iPhone apps, what is a good way to handle the communication layer to use for iPhone to windows service?
Tell me more
×
Programmers Stack Exchange is a question and answer site for
professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.
|
iPhone developers tend to prefer json or POX style services over SOAP. WCF is capable of serving both, though you might be better served by the WCF Web API than traditional WCF if you are going that way. Another option would be straight MVC controllers taking JSON or XML or HTTP POST data. |
|||
|
|
|
If you use Appcellerator to develop the app (supports both iPhone and Android), there is good support for consuming web-services in JSON format. Ajax and JSON is very easy and straightforward in this environment. |
|||
|
|