What is .Net MAUI?

 


watch video to understand.

Please, support my blog by clicking on our sponsors ad!

Let's learn have some basic knowledge about .NET MAUI.

Today we look for following:
  • What is .Net MAUI?
  • Difference between Xamarin and .Net MAUI
  • Why Xamarin Obsolete?
  • How to install .Net MAUI?
What is .Net MAUI?

.Net Maui is a evolution of xamarin forms with better performance and extensibility

.Net MAUI is a cross platform framework where you are allow to create mobile apps (IOS,android,window) and also window app and MacOS with single codebase with c# and xaml.

It will share UI layout, Code, Test, Buisiness logic.

.Net MAUI support Hot reload which allow you to modify source code while app is running.

Difference between Xamarin and .Net MAUI?

You will notice that there will many similarity in xamarin and .net MAUI like controls,layout,shell,guesture,template,cross platform api.
  • .Net maui is faster than xamarin 
  • .Net maui allow you to develop andoid,ios,macos and window app, while xamarin will allow you to develop andoid, ios and window mobile app
Xamarin
  1. Multiple project structure
  2. Dependency files and code are maintain under different project
  3. Add nugget reference to each project
  4. Xamarin support .NET Framework to build and run app
  5. Use renderer architecture but not handler
  6. Hot reload support limited to UWP
  7. No Graphic available, custom drawing is not possible
  8. Primary Support:
    • Android 4.4 (API 19) or higher
    • IOS 9 or higher
    • Windows 10, build 10.0.16299.0 or greater for .NET Standard 2.0 support.
.Net MAUI
  1. Single project structure
  2. Dependency files and code are maintain under platform folder 
  3. Add nugget reference to single project
  4. Support .Net CLI toolchain to build, run and publish
  5. Use handler architecture, but if you want to you renderer then you can use it.
  6. Hot reload complete support
  7. Graphics are available like paint,winding,blend
  8. Primary Support:
    • Android 5 (API 21) or higher
    • IOS 10 or higher
    • Windows 11 and Windows 10 version 1809 or higher
Why Xamarin obsolete?
  • In .NET 6, the new .NET Multi-platform App UI (MAUI) will be announced. .NET MAUI is the evolution of Xamarin.Forms, a cross-platform mobile first framework for Android, iOS, and UWP. You could think of this as the next major version of the same product you know today. Don't worry about the 'obsolete' problem. Xamarin.Forms will continue to receive service releases through November 2022.
How to install .Net MAUI?

Please follow this link: https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?tabs=vswin

watch video to understand.

In this link, you can learn, how to install this.

Hope this is helpful to you. Please share your feedback. Thanks for reading

Comments

Popular posts from this blog

Push Notifications in .NET MAUI: A Comprehensive Guide

Explore the UI libraries available for .NET MAUI at no cost.

Push Notification using Firebase in xamarin form (Android and IOS)