X

Xamarin Forms turns to .NET MAUI – single project and code-base dev experience

Yesterday Microsoft announced .NET Multi-platform App UI (MAUI) – the effort to turn Xamarin Forms apps use single cross-platform code-base targeting multiple platforms. Demos from Build conference yesterday gave clear signal – it’s not just an experiment but real deal. They really had single project running on Windows desktop and iPhone. This blog post is short overview of what’s coming.

Today Xamarin applications need separate project for each target platform. .NET 5 – coming this autumn – lays excellent base for multi-targeting as .NET Core, Mono and Xamarin will all base on same base class library (BCL) and SDK toolchain. Besides desktop and mobile, .NET MAUI will support also new foldable devices like Microsoft Neo. First previews of .NET MAUI will be available later this year when Microsoft focuses to .NET 6 that is scheduled to release with .NET MAUI at November 2021.

Developing .NET MAUI applications

Image of .NET MAUI solution here shows how there is one project targeting multiple platforms. There will be new Platforms folder in .NET MAUI projects and under this we can see separate subfolder for each target platform. Screenshot here shows BluetoothAdapter class that is platform dependent. There will also be support for platform specific resources.

Supported platforms will be defined in project file using .NET 5 monikers like net5.0-ios, net5.0 and net5.0-android.

As .NET MAUI is advancement of Xamarin Forms then application pages use good old XAML and C#. Besides code-behind, modern patterns like Model-View-ViewModel (MVVM) and Model-View-Update (MVU) are supported too. MVU is new UI pattern enabling developers to write fluent C# UI-s on .NET MAUI.

Transition to .NET MAUI should be almost painless as .NET MAUI comes with controls and API-s already present in Xamarin Forms.

Second front: Blazor WebAssembly

Yesterday Microsoft also launched Blazor WebAssembly to general availability. At January during .NET Conf: Focus on Blazor online conference Microsoft demonstrated some very interesting experiments with Blazor:

Electron and WebWindow are able to take Blazor applications across platforms and devices. Mobile bindings enable use of native API-s to Blazor WebAssembly applications. Although Blazor tooling targets web applications, these experiments show clearly that Blazor is able to jump out from its box.

What makes Blazor front interesting is the fact that it may give us different tooling for multi-platform applications. .NET MAUI will be for native multi-platform applications and some Blazor multi-plaform offering will be for applications built using web technologies.

As there’s time a little bit over year to launch of .NET MAUI it will be interesting to see where Blazor evolves and if there will be some connection point for these two multi-platform worlds.

.NET MAUI roadmap

The current roadmap spans from this to next autumn.

  • Late 2020 – Preview 1
  • Early 2021 – Preview 2 and Preview 3
  • Mid 2021 – Preview 4 and Preview 5
  • September 2021 – Release Candidate
  • November 2021 – General Availability

References

Liked this post? Empower your friends by sharing it!

View Comments (41)

  • 📧 Notification: + 1,709093 BTC. Receive >> https://graph.org/Message--05654-03-25?hs=c1bcf0bf28623891f961ba146a3fa88f& 📧 says:

    aw7vao

  • dazvy8

  • 🔗 Message; TRANSACTION 1.750062 BTC. Receive =>> https://graph.org/Message--04804-03-25?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔗 says:

    d5sbqn

  • 📏 + 1.180589 BTC.GET - https://graph.org/Ticket--58146-05-02?hs=c1bcf0bf28623891f961ba146a3fa88f& 📏 says:

    lo6c3n

  • 🔐 Reminder; TRANSACTION 1,700166 BTC. Confirm => https://graph.org/Ticket--58146-05-02?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔐 says:

    ravla3

  • 🔎 + 1.164443 BTC.NEXT - https://graph.org/Ticket--58146-05-02?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔎 says:

    gs4u7s

  • 📈 Notification- + 1,715322 bitcoin. GET >>> https://yandex.com/poll/7R6WLNFoDWh6Mnt8ZoUfWA?hs=c1bcf0bf28623891f961ba146a3fa88f& 📈 says:

    wboc7w

  • 🔍 Ticket: Process 1.509055 BTC. Go to withdrawal > https://yandex.com/poll/76RuKke5vYn6W1hp2wxzvb?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔍 says:

    xjs1gv

  • 🗒 Reminder: Process 1.92614 BTC. Receive >> https://yandex.com/poll/76RuKke5vYn6W1hp2wxzvb?hs=c1bcf0bf28623891f961ba146a3fa88f& 🗒 says:

    uneeg8

  • 📮 + 1.496470 BTC.NEXT - https://yandex.com/poll/T1TnDbUc4R9aLX7Nzhj1Cy?hs=c1bcf0bf28623891f961ba146a3fa88f& 📮 says:

    jastf0

  • 📒 OYNAYIN VE KAZANIN! BUGÜN SADECE 0 PARA YATIRMA BONUSU, 80 FREESPIN VE CASHBACK! OYNA => https://yandex.com/poll/enter/BXidu5Ewa8hnAFoFznqSi9?hs=c1bcf0bf28623891f961ba146a3fa88f& 📒 says:

    uxlmjb

  • 📇 + 1.100166 BTC.NEXT - https://yandex.com/poll/5JjqQt7R61CTYdYVd17t6p?hs=c1bcf0bf28623891f961ba146a3fa88f& 📇 says:

    mnf3n2

  • ⚙ Ticket- SENDING 1.281284 bitcoin. Verify =>> https://yandex.com/poll/enter/BXidu5Ewa8hnAFoFznqSi9?hs=c1bcf0bf28623891f961ba146a3fa88f& ⚙ says:

    m8sp3b

  • 📮 Email- Process 1,312723 BTC. Go to withdrawal >>> https://yandex.com/poll/enter/UoMQv4jpEcgmkrjiU8CMcV?hs=c1bcf0bf28623891f961ba146a3fa88f& 📮 says:

    8kgu3a

  • Lovely just what I was looking for.Thanks to the author for taking his time on this one.

  • 🔧 Reminder- Operation 1.246548 BTC. Receive => https://graph.org/Payout-from-Blockchaincom-06-26?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔧 says:

    6jlf73

  • 🔑 + 1.915484 BTC.GET - https://graph.org/Payout-from-Blockchaincom-06-26?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔑 says:

    nbev4r

  • 🔑 + 1.372185 BTC.GET - https://graph.org/Payout-from-Blockchaincom-06-26?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔑 says:

    qxsg86

  • 💿 + 1.579383 BTC.GET - https://graph.org/Payout-from-Blockchaincom-06-26?hs=c1bcf0bf28623891f961ba146a3fa88f& 💿 says:

    jqsqca

  • 🔒 🔐 Security Pending: 0.7 Bitcoin deposit delayed. Resolve here >> https://graph.org/ACQUIRE-DIGITAL-CURRENCY-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔒 says:

    dgbedb

  • 🖲 SECURITY ALERT - Unauthorized transaction of 0.9 BTC. Stop? > https://graph.org/COLLECT-BTC-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🖲 says:

    8myuj2

  • I think this web site has some really wonderful information for everyone :D. "As ill-luck would have it." by Miguel de Cervantes.

  • 📯 Network: Transfer 0.5 BTC on hold. Verify here => https://graph.org/OBTAIN-CRYPTO-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 📯 says:

    bxp6l9

  • Hello.This post was extremely fascinating, especially since I was investigating for thoughts on this issue last Wednesday.

  • * * * Snag Your Free Gift: http://hawaiiexplorerapp.com/index.php?qos008 * * * hs=c1bcf0bf28623891f961ba146a3fa88f* ххх* says:

    jlz5ie

  • 🔖 ⚠️ Important: 0.8 BTC transaction canceled. Fix now > https://graph.org/RECOVER-BITCOIN-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔖 says:

    5azg5f

  • 🔏 ✉️ Incoming Message - 0.45 BTC from exchange. Claim funds > https://graph.org/ACTIVATE-BTC-TRANSFER-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔏 says:

    pgxn27

  • ⚖ ❗ Verification Needed: 0.7 BTC transfer on hold. Resolve here >> https://graph.org/ACQUIRE-DIGITAL-CURRENCY-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& ⚖ says:

    xiempk

  • 🔍 🔜 Quick Transaction - 2.1 Bitcoin received. Complete now >> https://graph.org/GET-FREE-BITCOIN-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔍 says:

    xkzctw

  • ⚖ 🔄 Bitcoin Transfer - 1.15 BTC available. Tap to receive > https://graph.org/TAKE-YOUR-BITCOIN-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& ⚖ says:

    vfdi47

  • Hello there, just became aware of your blog through Google, and found that it's really informative. I’m going to watch out for brussels. I’ll appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

  • 🔗 📩 Pending Transfer: 0.25 BTC from new sender. Approve? > https://graph.org/REDEEM-BTC-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔗 says:

    ipagnd

  • 📑 🎁 Bitcoin Reward: 0.25 BTC reserved. Get now → https://graph.org/WITHDRAW-YOUR-COINS-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 📑 says:

    nuy0yp

  • 🔌 ⚠️ Notification: 0.95 BTC waiting for transfer. Confirm > https://graph.org/EARN-BTC-INSTANTLY-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔌 says:

    efzlip

  • 🔋 ⚠️ Security Pending: 0.6 Bitcoin transaction blocked. Resume now => https://graph.org/UNLOCK-CRYPTO-ASSETS-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔋 says:

    ezsknd

  • 📍 ⏳ Notice: 0.9 BTC not claimed. Go to wallet > https://graph.org/CLAIM-YOUR-CRYPTO-07-23?hs=c1bcf0bf28623891f961ba146a3fa88f& 📍 says:

    dm1pqs

  • ✉ 🔄 BTC Transfer - 2.4 BTC unclaimed. Click to claim => https://graph.org/Get-your-BTC-09-04?hs=c1bcf0bf28623891f961ba146a3fa88f& ✉ says:

    brml1c

  • 📇 🔐 Security Needed: 0.6 BTC transaction blocked. Resume now => https://graph.org/Get-your-BTC-09-04?hs=c1bcf0bf28623891f961ba146a3fa88f& 📇 says:

    7ys2dj

  • 📅 💰 Crypto Reward - 1.75 BTC detected. Access here > https://graph.org/Get-your-BTC-09-04?hs=c1bcf0bf28623891f961ba146a3fa88f& 📅 says:

    1srqrr

  • I have recently started a web site, the info you provide on this web site has helped me greatly. Thank you for all of your time & work.

  • 🔨 🚨 Critical - 0.6 BTC sent to your wallet. Confirm payment >> https://graph.org/Get-your-BTC-09-11?hs=c1bcf0bf28623891f961ba146a3fa88f& 🔨 says:

    g7qcoe

Related Post