Mastering Xamarin.forms – Second Edition

Key FeaturesPacked with real-world scenarios and solutions to help you build professional grade mobile apps with Xamarin.FormsBuild an effective mobile app architecture with the Xamarin.Forms toolkitMaximize the overall quality of your Xamarin.Forms appsBook DescriptionDiscover how to extend and build upon the components of the Xamarin.Forms toolkit to develop effective, robust mobile app architecture. Starting with an app built with the basics of the Xamarin.Forms toolkit, we'll go step by step through several advanced topics to create a solution architecture rich with the benefits of good design patterns and best practices.We'll start by introducing a core separation between the app's user interface and the app's business logic by applying the MVVM pattern and data-binding. Then we will focus on building out a layer of plugin-like services that handle platform-specific utilities such as navigation and geo-location, as well as how to loosely use these services in the app with inversion of control and dependency injection. Next we'll connect the app to a live web-based API and set up offline synchronization. Then, we'll dive into testing the app-both the app logic through unit tests and the user interface using Xamarin's UITest framework. Finally, we will setup Visual Studio Mobile Center to automate building, testing, distributing and monitoring the app.What you will learnFind out how, when, and why you should use architecture patterns and get best practices with Xamarin.FormsImplement the Model-View-ViewModel (MVVM) pattern and data-binding in Xamarin.Forms mobile appsExtend the Xamarin.Forms navigation API with a custom ViewModel-centric navigation serviceLeverage the inversion of control and dependency injection patterns in Xamarin.Forms mobile appsWork with online and offline data in Xamarin.Forms mobile appsTest both business logic and user interface code in Xamarin.Forms mobile appsUse platform-specific APIs to build rich custom user interfaces in Xamarin.Forms mobile appsExplore how to improve mobile app quality using Visual Studio Mobile Center

Author: Ed Snider

Learn more