MAUI: Hello World

Tools

Visual Studio Installer

Create new project: MAUI

Visual Studio 2022: Create a new project
Visual Studio 2022: Create a new project
Visual Studio 2022: Configure your project

Success project view

Visual Studio 2022: project view

Single project

Dependencies

Visual Studio: Solution Explorer

Platforms

Android specific code and Platforms Folder: Android, iOS, Mac Catalyst, Windows

Resources

Visual Studio 2022, Solution Explorer: All Resources folders
Visual Studio 2022, Solution Explorer: Common resources
Visual Studio 2022, Solution Explorer: Android resources
Visual Studio 2022, Solution Explorer: iOS resources

MauiProgram.cs

MauiProgram.cs

App.xaml and XAML files

App.xaml and MainPage.xaml

Start — App run

Android Emulator Run

Xaml, Xaml Preview, Android Emulator
Red flame/comet icon it is Hot reload.
Android Hot Reload
Hot Reload: Label text and color change in runtime

iOS Simulator run

Windows run

App after “Windows Machine” run

Summary

See also:

Old Xamarin concepts in same problem domain:

--

--

--

Did small internal corporate and big projects with over 1 000 000 active users in ASP.NET and XAMARIN.FORMS and XAMARIN.NATIVE. Blogging for better sleep.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

From Java Development to C++ Development. Does programming language matters?

Restoring a Project

Building Accessibility in Angular Applications

Kubernetes -Setting up a local development cluster -Part II

Algo: Binary-Search — Java

How To Query Metal Rates Per Ounce Using API?

Functions In Python

CS373 Spring 2022: Vibhuti Sharma Week 8

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bogusław Błoński

Bogusław Błoński

Did small internal corporate and big projects with over 1 000 000 active users in ASP.NET and XAMARIN.FORMS and XAMARIN.NATIVE. Blogging for better sleep.

More from Medium

[Dot Net Core](Graphic series)9. Comparison of Dot Net Core MVC and Asp.NET MVC-Timing of Factory

The Blazor Breadcrumb Control Is Now Production-Ready!

The Blazor Breadcrumb Control Is Now Production-Ready!

The real history of Dotnetcore.NPOI

Creating scheduled jobs using Hangfire