O'Reilly logo

Cross-platform UI Development with Xamarin.Forms by Paul F. Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Windows Communication Framework

To use the WCF, you must first have a file known as a generated client class. This class for use with a PCL must be created using the Silverlight Svsvcutil binary that comes as part of the Silverlight SDK. A similar named binary (svcutil) comes as part of the Windows SDK. Do not use this binary because the client class produced cannot be used in the PCL. The client class can only be generated on a Windows machine (or on a virtualized Windows machine).

Note

The code for this section is available in Chapter 7/WCF.

For this, I've chosen to use Microsoft's VirtualEarth service. To use this, you will also need to generate a temporary key. This key is similar to a Google Maps key or the OpenWeatherMap API key, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required