Book description
A practical guide to mastering C# and .NET MAUI to build native cross-platform apps with a single codebase Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Extend your skills to build cross-platform native apps for iOS, Android, Windows, and Mac
- Learn by working on a real-world project
- Go beyond MAUI and integrate with the .NET ecosystem
Book Description
While UI plays a pivotal role in retaining users in a highly competitive landscape, maintaining the same UI can be tricky if you use different languages for different platforms, leading to mismatches and un-synced pages. In this book, you'll see how .NET MAUI allows you to create a real-world application that will run natively on different platforms. By building on your C# experience, you’ll further learn to create beautiful and engaging UI using XAML, architect a solid app, and discover best practices for this Microsoft platform.
The book starts with the fundamentals and quickly moves on to intermediate and advanced topics on laying out your pages, navigating between them, and adding controls to gather and display data. You’ll explore the key architectural pattern of Model-View-ViewModel: and ways to leverage it. You’ll also use xUnit and NSubstitute to create robust and reliable code.
By the end of this book, you’ll be well-equipped to leverage .NET MAUI and create an API for your app to interact with a web frontend to the backend data using C#.
What you will learn
- Explore the fundamentals of creating .NET MAUI apps with Visual Studio
- Understand XAML as the key tool for building your user interface
- Obtain and display data using layout and controls
- Discover the MVVM pattern to create robust apps
- Acquire the skills for storing and retrieving persistent data
- Use unit testing to ensure your app is solid and reliable
Who this book is for
Learning .NET MAUI is targeted squarely at C# programmers, whether or not they have experience with cross-platform or mobile applications, who wish to learn Microsoft's premier platform for building iOS, Android, Windows and Mac apps using a single C#-based solution.
Table of contents
- .NET MAUI for C# Developers
- Foreword
- Contributors
- About the authors
- About the reviewers
- Preface
- Part 1 – Getting Started
- Chapter 1: Assembling Your Tools and Creating Your First App
- Chapter 2: What We Will Build: Forget Me Not
- Chapter 3: XAML and Fluent C#
- Chapter 4: MVVM and Controls
- Chapter 5: Advanced Controls
- Chapter 6: Layout
- Part 2 – Intermediate Topics
- Chapter 7: Understanding Navigation
- Chapter 8: Storing and Retrieving Data
- Chapter 9: Unit Testing
- Part 3 – Advanced Topics
- Chapter 10: Consuming REST Services
- Chapter 11: Exploring Advanced Topics
-
Assessments
- Chapter 1, Assembling Your Tools and Creating Your First App
- Chapter 3, XAML and Fluent C#
- Chapter 4, MVVM and Controls
- Chapter 5, Advanced Controls
- Chapter 6, Layout
- Chapter 7, Understanding Navigation
- Chapter 8, Storing and Retrieving Data
- Chapter 9, Unit Testing
- Chapter 10, Consuming REST Services
- Chapter 11, Exploring Advanced Topics
- Index
- Other Books You May Enjoy
Product information
- Title: .NET MAUI for C# Developers
- Author(s):
- Release date: March 2023
- Publisher(s): Packt Publishing
- ISBN: 9781837631698
You might also like
video
Mobile Development with .NET MAUI
The .NET multi-platform app UI is a cross-platform framework to create innovative mobile and desktop applications …
book
.NET MAUI Cross-Platform Application Development
Build apps for Android, iOS, macOS, and Windows using Microsoft’s .NET Multi-platform App UI and Blazor …
book
The MVVM Pattern in .NET MAUI
Gain an in-depth understanding of MVVM and .NET MAUI and learn how to effectively apply the …
book
.NET MAUI Projects - Third Edition
Harness the powerful features of .NET MAUI, the evolution of Xamarin.Forms, to create multi-platform app projects …