.NET MAUI in a nutshell
.NET MAUI is a framework from Microsoft for building native and performant cross-platform desktop and mobile apps for iOS, macOS, Android, and Windows, all from a single code base. Moreover, .NET MAUI’s reach extends beyond these primary platforms, thanks to Samsung’s efforts in adding support for Tizen OS. This additional support opens up possibilities for developers to target a wider variety of devices, such as smart TVs, wearables, and IoT devices that run on Tizen. However, for the purposes of this book, we’ll focus on building apps for iOS, macOS, Android, and Windows. Using .NET MAUI, developers can create native cross-platform user interfaces using XAML or C#. The key idea is to share your code, both business logic and UI, across all the supported platforms (Figure 2.1).
Figure 2.1: .NET MAUI high-level overview
It’s important to notice that having this shared code base in .NET MAUI doesn’...