.NET 6 Preview Adds MAUI
Written by Kay Ewbank   
Monday, 22 March 2021

The second preview of .NET 6 has been released with new APIs and early builds of .NET MAUI, the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

The new version also has builds for Apple Silicon, which were missing for Preview 1.

 

net2

The .NET team says this release marks the first of the regularly scheduled monthly previews that will be happening from now until the final release in November. They also promise new features included in each preview. .NET was created from a combination of .NET Framework and .NET Core. Microsoft's plan when .NET 5 was announced was that developers would be able to create a single native .NET 5 project to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly.

This release brings with it the ability to use Microsoft's Multi-platform App UI (MAUI), meaning you can write apps for iOS, Android, Windows, and macOS with the same codebase. It's what Xamarin.Forms has 'evolved into', and the team says that:

"Now that all your .NET apps will run on the same libraries, we want to increase the amount of code you share across desktop and mobile platforms."

maui

Alongside the inclusion of NET MAUI, the preview includes support for Mac Catalyst. This used to be called Project Catalyst, and it gives developers a single UI framework that works on all Apple devices. Catalyst solves the problem that an app written for the iPhone or iPad needed different display elements to work on desktop or laptop Macs. Catalyst makes it easier because you can simply add the Mac as a target device when developing an iPhone or iPad app.

There are a number of MAUI associated performance and tooling improvements including NET/C# Hot Reload, more shared resources and code across different platforms, and better page rendering performance with a more flexible set of UI controls. MAUI also adds the ability to run existing Blazor apps natively on Windows and macOS.

net2

More Information

Download for .NET 6 Preview 2

Related Articles

Developer Preview Of .NET 6 Released

New In Windows Forms .NET

.NET 5 Ready For Action

.NET Is One With .NET 5

Have Your Say On .NET For Spark

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Rust Twice As Productive As C++
03/04/2024

Google director of engineering, Lars Bergstrom, gave a talk at the recent Rust Nation UK conference and claimed that Rust was twice as productive as C++. Given how good Google is at C++, this is quite [ ... ]



Udacity's New Discovering Ethical AI Course
12/04/2024

Udacity has just launched an hour-long course on Ethical AI. Intended for a wide audience across many industries, it introduces to basic concepts and terms needed to step into the world of Ethica [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 22 March 2021 )