Chapter 5. Networking
In this chapter, we will take a detailed look at the networking capabilities of Xamarin applications and various service integration scenarios. The chapter also includes real-world examples on how to use local storage for data caching on connected app scenarios. It is divided into the following sections:
- Connected apps
- Web services
- Push notifications
- SignalR
- Patterns and best practices
- Platform-specific concepts
- Cloud integration
Connected apps
Mobile applications by definition should be as lightweight and resource-efficient as possible. You cannot expect to package media and other content into the application and then distribute the app or create an extravagant size of storage for user data, especially with applications whose main purpose is to provide user access to related content or store and manipulate the data.
For instance, while dealing with cross-platform projects, one of the easiest ways to create unified business logic and storage is to create a web service...