Xamarin Design Patterns

Mobile Architecture in C#

By Daniel Hermes

Xamarin Design Patterns Cover Image

Xamarin provides the leading Microsoft-sponsored development toolset for building native mobile apps in Visual Studio. Learn best-practice design patterns, architectures, and coding strategies for mobile development using .NET.

Full Description

  • ISBN13: 978-1-484202-15-9
  • User Level: Intermediate to Advanced
  • Publishing November 9, 2014
  • Print Book Price: $49.99
  • eBook Price: $34.99

Related Titles

Full Description

The Xamarin tool suite, Xamarin.Android and Xamarin.iOS,  is a bridge from .NET into the world of native mobile development.  These tools give C# developers a direct line into native Android and iOS development, allowing them to build business apps for the Google Play and iTunes app stores. 

Xamarin Design Patterns helps a developer navigate Android and iOS architecture using .NET.  Mobile development makes frequent use of traditional patterns such as MVC, MVVM, Delegates, and Singleton.  Pattern-savvy readers will find familiar .NET foundations here with logical bridges into mobile platform-specific implementations.  Newcomers to design patterns will find a mobile pattern guidebook.

The iOS UI must still be written in Xcode.  The Android UI rests on Activities. How are all of these built on a variation of the familiar MVC pattern?  The reader will learn about mobile data binding and decoupling of UI and back-end logic for cross-platform code reuse.  Application lifecycles on native platforms are unique as mobile and tablet apps spawn, live, pause, and die.  The reader will learn how code must respond to changes in state and manage data transfer between views.

Web services are the mainstay of mobile data and this is a primer for cross-platform client/service construction.  It also explores background data-loading techniques and offline access using local data structures: blueprints for the mobile data layer.

This comprehensive recipe and reference book addresses one of the most important and vexing problems in the software industry today: How do we effectively design and develop cross-platform native mobile applications?

What you’ll learn

  • The important design patterns in Xamarin mobile development
  • How mobile apps differ from traditional web and desktop apps
  • Key design concepts in native mobile apps written in .NET
  • Details about specifics of the primary mobile platforms to maximize portability and code reuse

Who this book is for

C#, ASP.NET developers, architects, and technical managers as well as many Android and iOS developers

Table of Contents

Table of Contents

1. Mobile Patterns
2. Application Architectures
3. Platform-specific Patterns
4. Local Data Access
5. Web Services
6. Application Event Lifecycle
7. State Management
8. Multi-Threading
9. Device Features
10. Cross-Platform Code Sharing
11. Security
12. Application Suite Architecture (ASA)

Please Login to submit errata.

No errata are currently published