RESTful WCF Service
I am new to WCF Services. We are creating a REST WCF Service which will be deployed on our IIS Server. our client is a iPHone App which is going send data to our WCF Service. In our Service I need to create a method will save data to 5 tables in Database. If its one or two fields they can simply pass string data but. They need to pass atleast 10 fields . I am wondering how the iPho开发者_如何学运维ne app will send the data to our application. Any insight regarding how generally data will transmitted from Mobile Apps to WCF Service. I really appreciate your help and if possible please give some example.
Thanks in Advance.
I recommend you to transmit data to and from your IPhone in JSON-format since it's much more lightweight than SOAP for example. Also, JSON is perfectly supported by WCF 4.0 out of the box. For the IPhone, you can use SbJSON or TouchJSon for serializing/deserializing your data.
精彩评论