> For the complete documentation index, see [llms.txt](https://dailyjournal.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dailyjournal.gitbook.io/notes/app-frameworks/.net-maui.md).

# .NET MAUI

.NET Multi-platform Application User Interface

{% embed url="<https://dotnet.microsoft.com/en-us/apps/maui>" %}

* .NET MAUI is a multi-platform framework for creating native desktop and mobile apps with C# and XAML.
* Using .NET MAUI, you create multi-platform apps using a single project, but you can add platform-specific source code and resources if necessary.

#### .NET MAUI Technology Stack <a href="#what-is-the-net-maui-technology-stack" id="what-is-the-net-maui-technology-stack"></a>

{% embed url="<https://docs.microsoft.com/en-in/training/dot-net-maui/build-mobile-and-desktop-apps/media/2-architecture.png>" %}
.NET MAUI provides a single framework for building the UIs for mobile and desktop applications.\
You create the UI using this framework (indicated by arrow 1), and \
.NET MAUI takes care of converting it to the appropriate platform (indicated by arrow 2). \
In situations when you need to implement a platform-specific feature, you can invoke methods in the platform-specific framework (indicated by arrow 3).
{% endembed %}

{% hint style="info" %}
.NET MAUI always generates native code for the target device, so you get optimal performance.&#x20;

.NET MAUI uses "handlers" specific to each platform and UI element to carry out an operation.
{% endhint %}

#### .NET MAUI Application Startup

{% embed url="<https://docs.microsoft.com/en-in/training/dot-net-maui/build-mobile-and-desktop-apps/media/3-startup-flow.png>" %}

{% embed url="<https://www.youtube.com/playlist?list=PLdo4fOcmZ0oUBAdL2NwBpDs32zwGqb9DY>" %}
