Xamarin: Cross-Platform Mobile Application Development
by Jonathan Peppers, George Taskos, Can Bilgin
Consuming REST web services
Almost all applications today connect to a server to persist data. Some are connected, meaning an active Internet connection is required, whereas others have only offline data, with a local database on the device. Many utilize a combination of offline-online applications with an implementation of data syncing.
In this recipe, we will demonstrate how to connect to a REST web service and perform CRUD operations in a connected architecture application.
REST (short for Representational State Transfer) is not a protocol or a specific implementation of a design pattern, but you can think of it as an architectural style that relies on a stateless, client-server, cacheable communications protocol, and in most of the cases the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access