DEV Community

Cover image for .NET MAUI (Cross Platform framework)
Nalin Jayasinghe
Nalin Jayasinghe

Posted on

.NET MAUI (Cross Platform framework)

.NET MAUI stands for .NET Multi-platform App UI.

.NET MAUI is a first class cross-platform framework for creating native mobile and desktop apps with C# and XAML.

Using .NET MAUI We can develop apps that can run on Mobile (Android, iOS) and Desktop (macOS, Windows) from a single shared code-base.

.NET MAUI is open source and is the evolution of Xamarin.Forms.

.NET MAUI and Xamarin.Forms has many similarities. Xamarin.Forms need separate project for each platform. However, .NET MAUI can create multi platform apps using a single project. One of the key aim of .NET MAUI is to implement your app logic and UI layout in single code-base. Also .NET MAUI allow you to add platform-specific code and resources if necessary.

Creating a cross-platform app is not easy task due to deferent OS and device specs. .NET MAUI simplified it by abstracts them into a single shared project that can target Android, iOS, macOS, and Windows.

.NET MAUI single project provides the following features:

  • A single shared project that can target Android, iOS, macOS, and Windows.
  • A simplified debug target selection for running your .NET MAUI apps.
  • Shared resource files within the single project.
  • A single app manifest that specifies the app title, id, and version.
  • Access to platform-specific APIs and tools when required.
  • A single cross-platform app entry point.

Conclusion
I am very excited about .NET MAUI and all the productivity and performance it will bring. I look forward to build apps using .NET MAUI and share my learnings and experiences with you all.

Thanks for reading!
Feedback is always welcome.

Top comments (0)