Chapter 8. Web services and the cloud

Many of the standard techniques for connecting to web services, including Windows Communication Foundation (WCF) data services, are directly supported on the phone. This chapter examines each of these techniques, some particular issues with testing an end-to-end web service–based mobile app, and some of the choices you have in transferring data over the network. We also look at the additional support for connecting to Microsoft Windows Azure.

Web services

Windows Phone can consume web services, including Microsoft ASP.NET and WCF. The following example uses a simple WCF service that provides a “quote of the day.” The ServiceContract is listed in the code that follows shortly. It defines just one method, GetQotd ...

Get Windows Phone 8 Development Internals now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.