Creating a new project
To develop cross-platform applications, we must install cross-platform tools in Visual Studio.
If you haven’t done that, please open the Visual Studio installer and select the .NET Multi-Platform App UI development workflow.
.NET MAUI has a couple of templates: .NET MAUI App, .NET MAUI Blazor App, and .NET MAUI Class Library.
.NET MAUI App
The .NET MAUI template uses XAML to create applications.
XAML is also used for WPF (Windows Presentation Foundation) and UWP (Universal Windows Platform). Every XAML version differs just a bit but if you have worked with WPF or UWP before, they should feel familiar.
The XAML is converted into native elements. This way, if our app runs on Windows, it will have the look and feel of a Windows application. If we run it on an iOS device, it will look and feel like a native iOS app.
This is probably our best option if we want to use our C# skills to create a cross-platform application. Using this...