Book Image

Mastering Cross-Platform Development with Xamarin

By : Can Bilgin, Miljenko Cvjetko, Paulo Ortins, Robert Hellestrae, Craig Dunn
Book Image

Mastering Cross-Platform Development with Xamarin

By: Can Bilgin, Miljenko Cvjetko, Paulo Ortins, Robert Hellestrae, Craig Dunn

Overview of this book

The main goal of this book is to equip you with the required know-how to successfully analyze, develop, and manage Xamarin cross-platform projects using the most efficient, robust, and scalable implementation patterns. This book starts with general topics such as memory management, asynchronous programming, local storage, and networking, and later moves onto platform-specific features. During this transition, you will learn about key tools to leverage the patterns described, as well as advanced implementation strategies and features. The book also presents User Interface design and implementation concepts on Android and iOS platforms from a Xamarin and cross-platform perspective, with the goal to create a consistent but native UI experience. Finally, we show you the toolset for application lifecycle management to help you prepare the development pipeline to manage and see cross-platform projects through to public or private release.
Table of Contents (19 chapters)
Mastering Cross-Platform Development with Xamarin
About the Authors
About the Reviewers


ASP.NET SignalR is a web server-side technology that allows developers to pass real-time updates to their applications. SignalR works in a similar way to WCF duplex channels where the server side is accessible through the main service contract and the server-to-client communication occurs through the callback contract. While WCF duplex channels provide support for the same scenarios as SignalR, duplex channel implementation is currently not supported in any of the Xamarin target platforms. On the other hand, there is a component available for use on all Xamarin target platforms for SignalR.

SignalR Component

SignalR takes advantage of WebSockets, which enables bidirectional communication over the HTTP transport. In essence, WebSockets works almost in the same way as TCP Sockets; however, the connection is established over the HTTP transport layer.

Using SignalR, applications requiring real-time data can be implemented without resorting to polling or listener channel implementations...