Skip to main content

.NET MAUI

.NET MAUI is Microsoft's framework for native iOS, Android, macOS, and Windows apps from one C# and XAML codebase. It is the successor to Xamarin.Forms and the default for cross-platform .NET clients.

.NET MAUI

.NET Multi-platform App UI (MAUI) is Microsoft's evolution of Xamarin.Forms for building native client apps across iOS, Android, macOS, and Windows from one C# and XAML codebase. It runs on the unified .NET platform and is the recommended choice for new cross-platform .NET client development.

MAUI targets organizations already invested in C# and the .NET ecosystem that want native client apps without separate per-platform teams. It is widely used for enterprise line-of-business and field applications.

Components

  • .NET provides the unified runtime, base class libraries, and tooling shared across platforms.
  • C# is the application language, with strong typing, async/await, and LINQ.
  • XAML declaratively describes UI, with optional C# markup and the MVVM pattern for separation of concerns.
  • A single project system compiles to native binaries per platform, mapping MAUI controls to native widgets.
  • Platform handlers and Blazor Hybrid support let you mix web UI into native shells when useful.

Strengths

One codebase and one toolchain cover four platforms, including desktop. C# developers reuse existing skills, libraries, and NuGet packages. Native controls give a platform-correct look and good performance. Deep integration with Visual Studio, the .NET ecosystem, and Azure services streamlines enterprise delivery. MVVM and dependency injection are first-class, suiting large, testable codebases. Hot Reload speeds iteration.

Trade-offs

MAUI is younger than React Native and Flutter, and early releases drew complaints about stability and third-party control maturity. The ecosystem outside Microsoft is smaller. iOS and macOS builds still require a Mac. Some platform-specific behavior leaks through and must be handled per platform. Performance is good but heavy UI can need tuning. Tooling is strongest on Windows with Visual Studio.

When to Use It

Choose .NET MAUI when your team is already a C#/.NET shop and you need native iOS, Android, and desktop apps from one codebase, especially for enterprise apps that integrate with Azure and existing .NET back ends. If you have no .NET investment, Flutter or React Native offer larger ecosystems; for legacy Xamarin apps, MAUI is the migration target.