.NET MAUI
.NET MAUI (Multi‑platform App UI) is Microsoft’s cross‑platform framework for building native mobile and desktop apps from a single shared C# and XAML codebase. MAUI targets Android, iOS, macOS, and Windows, unifying these platforms behind a single project structure while still allowing access to full native APIs when needed. It is the evolution of Xamarin.Forms, rebuilt for performance, extensibility, and deeper integration with modern .NET.
Benefits of .NET MAUI
- Single project, multi‑platform: Consolidates Android, iOS, macOS, and Windows into one project with shared resources, simplifying development and deployment compared to separate platform‑specific projects.
- Native UI and performance: MAUI renders UI elements using each platform’s real native controls and compiles to native code, giving better performance than hybrid approaches.
- Deep .NET integration: Fully built on modern .NET (e.g., .NET 6+), benefiting from runtime optimizations, dependency injection, configuration, and modern tooling.
- Access to native APIs: Developers can call platform‑specific APIs directly when required, giving MAUI maximum flexibility for device‑level capabilities.
- Hot Reload and rapid iteration: XAML/C# Hot Reload allows developers to see UI or logic changes instantly on running apps.
- Future‑proof successor to Xamarin.Forms: Xamarin.Forms is now in maintenance mode, while MAUI continues to evolve with new features, better reliability, and improved performance.
Typical Use Cases
- Cross‑platform business applications: Shared business logic and UI across Windows, macOS, Android, and iOS, ideal for internal tools or line‑of‑business apps.
- Mobile + desktop companion apps: Building unified apps that run on all devices without maintaining multiple codebases.
- Apps modernizing from Xamarin.Forms: Teams currently using Xamarin.Forms can transition to MAUI to gain ongoing support and improved performance.
- .NET‑centric development teams: Organisations already using .NET, WPF, or Blazor benefit from familiar patterns (MVVM, DI, XAML) and shared libraries.
- Apps requiring partial platform customisation: MAUI’s native API access enables developers to share UI broadly while customising platform‑specific features only where necessary.