Skip to main content

Book Review: .NET MAUI Cross-Platform Application Development


"Learning .NET MAUI" by Roger Ye is an in-depth guide designed to help developers master .NET MAUI (Multi-platform App UI), a framework for building cross-platform applications using a single codebase. Roger Ye leverages his extensive industry experience to provide clear, practical guidance, making this book a valuable resource for both new and seasoned developers.

Cover of the book

Structure and Content

The book is methodically organized into multiple chapters, each focusing on different aspects of .NET MAUI. Here's a detailed look at each chapter:

Chapter 1: Getting Started with .NET MAUI

- Overview of Cross-Platform and Full Stack Technologies: Introduction to various cross-platform frameworks like Apache Cordova, Ionic, React Native, Flutter, and .NET MAUI. This section compares their strengths and weaknesses, helping developers understand why .NET MAUI might be the best choice for their projects.

- Development Environment Setup: Detailed instructions for setting up the development environment on Windows and macOS, including necessary tools and software.

Chapter 2: Building Our First .NET MAUI App

- Creating a .NET MAUI Project: Step-by-step guide on setting up a new .NET MAUI project using Visual Studio and the dotnet command line.

- App Lifecycle and Resources: Explanation of the app lifecycle and how to manage resources.

- Building and Debugging: Instructions on building and debugging applications across different platforms, including Windows, Android, iOS, and macOS.

Chapter 3: Exploring .NET MAUI Applications

- Project Structure: Overview of the structure of .NET MAUI projects.

- Lifecycle Events: Detailed look at lifecycle events and how to handle them.

- Cross-Platform Concerns: Discussion on managing platform-specific code within a cross-platform project.

Chapter 4: User Interface Design with XAML

- XAML Basics: Introduction to XAML syntax and structure.

- Layout Options: Coverage of various layout controls such as StackLayout, Grid, and FlexLayout.

- Views: Guide to using common views like Label, Image, Editor, and ListView.

- Localization: Instructions on supporting multiple languages using .resx files.

Chapter 5: Exploring MVVM and Data Binding

- Understanding MVVM: In-depth exploration of the Model-View-ViewModel (MVVM) pattern.

- Data Binding: Comprehensive coverage of data binding, including binding contexts, commands, and using the .NET Community Toolkit for MVVM.

Chapter 6: Navigation Using .NET MAUI Shell and NavigationPage

- Navigation Techniques: Explanation of various navigation techniques using the INavigation interface, NavigationPage, and Shell.

- Shell Features: Detailed coverage of Shell features like Flyout, Tabs, and Shell navigation, which are crucial for building complex, multi-page applications.

Chapter 7: Software Design with Dependency Injection

- Design Principles: Overview of design principles such as DRY, KISS, YAGNI, and SOLID.

- Dependency Injection (DI): How to implement DI in .NET MAUI to create maintainable and testable applications.

Chapter 8: Using Platform-Specific Features

- Platform-Specific Code: How to write platform-specific code and use platform-specific features within a .NET MAUI app.

- Dependency Services: Explanation of how to use dependency services to access platform-specific functionality.

Chapter 9: Using SQLite in .NET MAUI Applications

- Database Integration: Guide to integrating SQLite databases into .NET MAUI applications.

- Data Management: How to perform CRUD operations and manage data persistence.

Chapter 10: Networking in .NET MAUI

- HTTP Communication: How to make HTTP requests and handle responses.

- Web Services: Integrating web services and consuming RESTful APIs.

Chapter 11: Handling Device Features and Sensors

- Accessing Device Features: How to access and use device features such as GPS, camera, and sensors.

- Permissions and Security: Managing permissions and ensuring application security when accessing sensitive device features.

Chapter 12: Testing and Debugging

- Testing Techniques: Best practices for unit testing and integration testing in .NET MAUI.

- Debugging Tools: Tools and techniques for effective debugging across different platforms.

Chapter 13: Publishing .NET MAUI Applications

- Preparation for Release: Steps to prepare applications for release.

- Publishing: Detailed instructions on publishing apps to different app stores (Google Play Store, Apple App Store, Microsoft Store).


- Comprehensive Coverage: The book covers a wide array of topics from basic setup to advanced design principles and platform-specific features, making it suitable for developers at different skill levels.

- Practical Examples: Practical examples and step-by-step instructions help readers apply what they learn directly to their projects.

- Updated Content: The second edition includes the latest features and best practices in .NET MAUI, ensuring that readers are learning the most current information.

Areas for Improvement

- Depth in Certain Areas: While the book provides a broad overview, some readers might find certain topics, like advanced MVVM techniques or performance optimization, could be explored in more depth.

- Target Audience Clarity: The book caters to both beginners and experienced developers, but sometimes the transition between introductory and advanced topics might feel abrupt.


"Learning .NET MAUI" by Roger Ye is an invaluable resource for anyone looking to delve into cross-platform development using .NET MAUI. Its thorough approach, practical examples, and up-to-date content make it a must-have for developers aiming to build robust, cross-platform applications. Whether you're just starting out or looking to refine your skills, this book provides the knowledge and tools needed to succeed in .NET MAUI development.


© 2020 Mobile Dev Hub