La soluzione trasversale per uno sviluppo software moderno

What is Xamarin and its evolution toward .NET MAUI

Everything you need to know about Xamarin: cross-platform mobile development with C# and .NET, and the migration path to .NET MAUI.

Xamarin was Microsoft's framework for creating native mobile applications for iOS, Android and Windows using C# and .NET.

For years, Xamarin allowed .NET developers to enter the mobile world without having to learn Swift, Kotlin or Java. A single codebase, native apps on every platform.

Today Xamarin has evolved into .NET MAUI, the new generation of Microsoft cross-platform development. But understanding Xamarin remains fundamental for those managing existing applications or planning a migration.

How Xamarin worked: architecture and approaches

Xamarin offered two main approaches:

Approach Description
Xamarin.Native Direct access to native APIs of each platform with platform-specific UI for iOS and Android. Maximum control.
Xamarin.Forms Shared UI across platforms with XAML. Less platform-specific code, more sharing.

Technology stack

Component Description
Mono Runtime .NET runtime for iOS and Android, compiled AOT on iOS and JIT on Android.
Xamarin.iOS Complete binding of native iOS APIs (UIKit, CoreData, ARKit).
Xamarin.Android Complete binding of native Android APIs (Activities, Fragments, Material Design).
Xamarin.Forms Cross-platform UI framework with native renderers for each platform.
Xamarin.Essentials Unified APIs for device features (GPS, sensors, connectivity, file system).

From Xamarin to .NET MAUI: the evolution

.NET MAUI is the direct evolution of Xamarin.Forms, integrated into the unified .NET runtime:

Aspect Xamarin.Forms .NET MAUI
Project Separate projects per platform Single multi-target project
Runtime Mono Unified .NET
UI Renderer pattern Handler pattern (more performant)
Platforms iOS, Android, UWP iOS, Android, Windows, macOS
Hot Reload Limited Full XAML and C# Hot Reload
Support End of support May 2024 Active support with .NET LTS

If you have a Xamarin application, migrating to .NET MAUI is the natural step to ensure support, performance and modern features.

Advantages of Xamarin / .NET MAUI for mobile development

  1. One language, all platforms, C# and .NET for iOS, Android, Windows and macOS. No Swift, Kotlin or Java.

  2. Native performance, AOT compilation on iOS, JIT on Android: native apps, not hybrids.

  3. Code sharing, Up to 90% of code shared across platforms, including business logic.

  4. NET ecosystem, NuGet, LINQ, async/await, Entity Framework: all .NET tools available in mobile.

  5. Integrated Visual Studio, Debug, deploy on emulators and real devices directly from the IDE.

Get started with .NET mobile development: resources

Vuoi approfondire What is Xamarin and its evolution toward .NET MAUI? Richiedi informazioni

Vuoi approfondire questa tecnologia con un percorso personalizzato? Compila il modulo e ricevi tutte le informazioni.

Analisi gratuita Risposta diretta dall’architetto Zero impegno
La soluzione trasversale per uno sviluppo software modernoAnalisi gratuita, zero impegno
Versione 0.1.0Note di rilascio