Share this article

Latest news

With KB5043178 to Release Preview Channel, Microsoft advises Windows 11 users to plug in when the battery is low

Copilot in Outlook will generate personalized themes for you to customize the app

Microsoft will raise the price of its 365 Suite to include AI capabilities

Death Stranding Director’s Cut is now Xbox X|S at a huge discount

Outlook will let users create custom account icons so they can tell their accounts apart easier

.NET MAUI quality improvements in Preview 12

2 min. read

Published onJanuary 20, 2022

published onJanuary 20, 2022

Share this article

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

In this article

Toggle

Microsoftjust released Preview 12 of the .NET Multi-platform App UIotherwise known as .NET MAUI. For those living under a rock, this is a cross-platform framework for creating native mobile and desktop applications levering .NET and C#. This allows developers to build applications that work across pretty much any operating system under the sun with a single framework, programming language and shared codebase. In short, an evolution of .NET Xamarin.Forms.

With preview 12 come some exciting enhancements, let’s talk about a few of them.

Shell Navigation

Xamarin.Forms Shell simplifies mobile app development by offering the essential functionalities that most apps need. Developers can access Shell.Current to issue navigation commands from pretty much anywhere, listen to navigation events, and more. One of the biggest features brought forward is the ability to query parameters.

For example :

Shell Dependency Injection

Another amazing enhancement is the ability to leverage dependency injection. Starting with Preview 12 developers can now define their dependencies in their main class and use it in their pages

Other improvements

Aside from improvements to Shell, there are quite a few important bug fixes being included with this release. To read more about these head over the theblog post from Microsoft’s David Ortinau.

Before getting started it might be a good idea to do the following…

Before installing Visual Studio 2022 Preview, we highly recommend starting from a clean slate byuninstalling all .NET 6previews andVisual Studio 2022 previews.

Now, install Visual Studio 2022 Preview (17.1 Preview 3) and confirm .NET MAUI (preview) is checked under the “Mobile Development with .NET workload”.

– David Ortinau, .NET Multi-platform App UI

Overall .NET MAUI is shaping up to be a very exiting platform and an amazing follow up to Xamarin.Forms which was already a very formidable offering on its own. Have you been building your own .NET MAUI powered apps? What has been your experience?

Radu Tyrsina

Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time).

For most of the kids of his age, the Internet was an amazing way to play and communicate with others, but he was deeply impressed by the flow of information and how easily you can find anything on the web.

Prior to founding Windows Report, this particular curiosity about digital content enabled him to grow a number of sites that helped hundreds of millions reach faster the answer they’re looking for.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Radu Tyrsina