.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


Deno Improves JSR Support
08/04/2024

Deno has been updated to improve JSR support, and to build on the Temporal API introduced in version 1.4.  Deno is the JavaScript and TypeScript runtime from the creator of Node.js.



Azure AI And Pgvector Run Generative AI Directly On Postgres
26/03/2024

It's a match made in heaven. The Azure AI extension enables the database to call into various Azure AI services like Azure OpenAI. Combined with pgvector you can go far beyond full text search. Let's  [ ... ]


More News

raspberry pi books

 

Comments




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

Last Updated ( Monday, 22 March 2021 )