Build cross-platform apps with .NET MAUI! This exciting new technology helps you create mobile and desktop apps using a common set of .NET tools.
In .NET MAUI in Action you will learn how to:
Set up your environment for cross-platform development
Write an interactive UI in XAML using out-of-the-box controls
Apply the MVVM pattern to build maintainable code
Extend your control library with custom controls
Structure your app using common navigation paradigms
Use common device features like GPS
Use DevOps tools to automate deployment and testing
.NET MAUI in Action shows you how you can use the cutting-edge MAUI framework to write apps that will run on Windows, Android, macOS, and iOS platforms using your existing .NET development skills. This book reveals essential MAUI development techniques through hands-on example applications in every chapter. You’ll learn cross-platform development quickly as you start building your own rich apps, from to-do list apps, to a movie recommender app, and eventually a full-stack solution using enterprise architecture patterns. You’ll also learn how to use GitHub Actions to deploy robust, testable, and maintainable apps; and how to deliver a consistent look and feel across platforms. Throughout, you’ll use the built-in controls of .NET MAUI and learn how to develop your own custom solutions.
About the Technology Write your app once and deploy it on mobile, desktop, web, and cloud with .NET MAUI. This powerful multi-platform App UI framework saves time and money by eliminating tedious platform-specific rewrites. You just define your project in straightforward XAML markup and C#, and MAUI generates the native applications for iOS, Android, Windows, and macOS.
About the Book .NET MAUI in Action teaches you how to build cross-platform applications using the .NET MAUI framework. You’ll explore compelling examples while you work your way up from “Aloha World” to a full-stack enterprise solution. Along the way, you’ll master the MVVM pattern and other essentials of mobile UI development. This practical book is perfect for .NET developers who have never created mobile apps.
What's Inside
Write interactive UIs in XAML using out-of-the-box controls
Extend your control library with custom controls
Use common device features like GPS
Automate deployment and testing
About the Reader For experienced .NET developers. No iOS or Android experience required.
About the Author Matt Goldman is a Solution Architect at SSW, a regular speaker at user groups and conferences, and maintains open source libraries for use in .NET MAUI apps.
Quotes This book stands apart by boldly exploring critical enterprise application development principles. It empowers readers to be self-sufficient by emphasizing best practices and offering practical tips that equip them to improve as cross-platform developers. - From the Foreword by Kym Phillpotts, Microsoft
Does not get any better than Matt Goldman! His real-world scenarios set you up for success. - Sam Basu, Progress
A gold mine, full of valuable information and examples! - Aleksander Rokic, ObjectEasy
The section on upgrading a Xamarin.Forms app to .NET MAUI is worth the price of the book! - Mario Solomou, Appoint.AI
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.