Skip to content
Tech News
← Back to articles

MAUI Is Coming to Linux

read original get Linux Foundation MAUI Book → more articles
Why This Matters

The introduction of .NET MAUI support for Linux via Avalonia marks a significant step towards true cross-platform development, enabling developers to deploy consistent apps across diverse operating systems including Linux and WebAssembly. This expansion enhances flexibility for both developers and consumers, fostering broader accessibility and uniform user experiences across platforms.

Key Takeaways

Alongside Avalonia 12 and the .NET 11 Previews, I am pleased to announce the first preview of our Avalonia backend for .NET MAUI . Now, you can leverage Avalonia to deploy .NET MAUI apps to new platforms, like Linux and WebAssembly.

Since last fall, we’ve made great strides in bringing the power of Avalonia to .NET MAUI.

Beyond offering Linux and WebAssembly support for .NET MAUI, this new backend advances Avalonia’s vision of cross-platform consistency. There are many great reasons to choose between native and drawn UIs. Going native allows your app to blend in with your hosted platform. But there are times when you don’t want Liquid Glass and prefer a classic look . We want these apps to look and feel the same, regardless of the platforms you choose.

Get started in four steps

Eager to get started right away? Here’s how:

Create a .NET MAUI app. Add the Avalonia.Controls.Maui.Desktop NuGet. Add the net11.0 target framework. Add UseAvaloniaApp to your MauiBuilder .

That’s it. Run the net11.0 target, and your app will launch. No need to create an Avalonia bootstrapper; we've already done that for you . Of course, you can extend or disable our source generator if you want full control on the Avalonia side. We’ve provided examples of each approach in the repository to help you.

Improving Avalonia for everyone

... continue reading