In this recipe, we will learn how to consume WCF services with Xamarin.iOS.
For this project, we will need a running WCF service. A WCF service can be found in the code download of this chapter. To start the service, open a terminal and go to the project's directory. Start the service by running the start_wcfservice.sh
shell script, as follows:
cd <code_directory>/CH06_code/WcfService/WcfService ./start_wcfservice.sh
After the service is started, create a new Single View Application in Xamarin Studio and name it WcfServiceApp
. A machine running on Windows will also be needed.