Telerik blogs

Welcome to the Sands of MAUI—newsletter-style issues dedicated to bringing together latest .NET MAUI content relevant to developers.

A particle of sand—tiny and innocuous. But put a lot of sand particles together and we have something big—a force to reckon with. It is the smallest grains of sand that often add up to form massive beaches, dunes and deserts.

Most .NET developers are looking forward to .NET Multi-platform App UI (MAUI)—the evolution of Xamarin.Forms with .NET 6. Going forward, developers should have much more confidence in the technology stack and tools as .NET MAUI empowers native cross-platform solutions on mobile and desktop.

While it is a long flight until we reach the sands of MAUI, developer excitement is palpable in all the news/content as we tinker and prepare for .NET MAUI. Like the grains of sand, every piece of news/article/video/tutorial/stream contributes towards developer knowledge and we grow a community/ecosystem willing to learn and help.

Sands of MAUI is a humble attempt to collect all the .NET MAUI awesomeness in one place. Here's what is noteworthy for the week of August 30, 2021:

.NET MAUI Tooling

.NET MAUI is the next generation cross-platform framework for .NET developers to target iOS, Android, Windows and MacOS—there are lots of moving pieces that make up the technology stacks.

The developer experience in .NET MAUI comes down to collaboration from lots of different teams at Microsoft—.NET team, .NET MAUI team, XAML tooling team and Visual Studio engineering. It is crunch time for .NET 6 and .NET MAUI ahead of RC releases. And as a senior developer on VS UI team pointed out, things are coming together rather nicely.


.NET MAUI Migration with Upgrade Assistant

This might be an oldie, but goldie. Back in early August, Maddy Leger and David Ortinau hosted the .NET MAUI Community Standup—and had special guest Sweekriti Satpathy. Sweeky, known for her DevOps chops, turned to covering something that is on the minds of many developers—migration of Xamarin.Forms apps to .NET MAUI.

While things are in the works, one can see Sweeky utilize the .NET Upgrade Assistant as a first step of the migration—this is what the future will look like. Wave the Upgrade Assistant magic wand to move over most things and fix up what is left by hand, as we migrate apps to .NET MAUI.


Xamarin.Forms Behaviors in .NET MAUI

Most Xamarin.Forms developers are used to the idea of Behaviors—the little pieces of UI functionality that you attach/detach from UI components without changing their fundamentals. If you have written custom Behaviors in your Xamarin.Forms apps, how do they move forward to .NET MAUI?

Gerald Versluis published a handy video to show just that—migrating your Xamarin.Forms Behaviors to .NET MAUI. Watch Gerald as he copies over an existing Xamarin.Forms Behavior into a .NET MAUI project, changes a few Namespaces and tweaks a little—and voila, you have a XAML Behavior ready to consume from .NET MAUI code.


Minimal APIs in ASP.NET

Your .NET MAUI apps will not live in silo—they would need to be backed with data and services from the backend. If you are a solo developer or working on a team that builds a robust backend for your apps, you would have to know a thing or two about building APIs. Thankfully, ASP.NET running on .NET Core has robust support for building very fast clean APIs that can serve your mobile apps. But there is still quite a bit of ceremony as you write .NET API—could we lower the barrier to entry?

That's exactly what the ASP.NET team is trying with new Minimal APIs—like it sounds, it aims to do as little as possible to get you up and running with an API quickly. There was a recent all-day CodeItLive stream with a Back To the Future theme to talk all things ASP.NET—and Khalid Abuhakmeh joined in to talk fast and scalable Minimal APIs. Khalid talked about the inspiration and technologies that drive Minimal APIs—and how the latest C# language features help pull this off. This is the way forward for .NET-based Backend services that will power .NET MAUI and all other types of client apps.


Blazor Hotness in .NET 6

.NET MAUI isn't the only coolest thing coming with .NET 6—Blazor is bringing some coolness as well. Jon Hilton covers all that's new with Blazor in .NET 6—Dynamic Components, Hot Reload, AOT Compilation for Blazor WASM and more.

And of course, .NET MAUI Blazor Hybrid apps are here to bring Blazor goodness to Desktop apps—.NET MAUI provides the perfect bootstrapping and makes modern WebViews available, so Blazor can do its thing. The future of modern mobile/desktop apps could involve a lot of code sharing with web and Blazor on .NET 6 is getting ready to enable more developer choices.


That's it for now.

We'll see you next week with more awesome content relevant to .NET MAUI.

Cheers, developers!

About the Author

Sam Basu

Sam Basu is a technologist, author, speaker, Microsoft MVP, gadget-lover and Progress Developer Advocate for Telerik products. With a long developer background, he now spends much of his time advocating modern web/mobile/cloud development platforms on Microsoft/Telerik technology stacks. His spare times call for travel, fast cars, cricket and culinary adventures with the family. You can find him on the internet.

Related Posts


Comments are disabled in preview mode.