June 2013
Intermediate to advanced
1044 pages
30h 57m
English
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.
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 ...
Read now
Unlock full access