Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ What is .NET MAUI? | Introduction to Desktop Development with .NET
C# Desktop Development with .NET MAUI

What is .NET MAUI?

メニューを表示するにはスワイプしてください

MAUI, also known as Multi-Platform App UI, is a powerful cross-platform framework for creating mobile and desktop applications using C#.

There are multiple options when it comes to developing desktop applications using C#, for example, using the Windows Forms (WF) library, or the more advanced Windows Presentation Foundation (WPF). However, WF and WPF are somewhat older as compared to MAUI, moreover, WF and WPF only support application development for Windows, however, with MAUI, it is possible to create desktop applications for all popular platforms: Windows, Mac, and Linux. Apart from that, it is also possible to create applications for Android and iOS using MAUI.

Since MAUI applications are cross-platform, an app created for Windows can be exported to be runnable on MacOS, or even for Android and iOS, without making any changes to the code. This makes MAUI very robust.

Note
Note

MAUI is built with cross-platform compatibility as one of its important goals which allows us to make applications for multiple different platforms using a single codebase; however, in some rare cases, we might need to write platform-specific code to make it fully compatible with a specific platform.

This is why we will be using MAUI to develop Desktop Applications. We will also cover some important C# concepts along the way as we learn to develop some cool desktop applications.

Note
Note

If you are on MacOS, certain procedures might be different for you, for example creating a new project or running the application. However, you should be able to follow the tutorial without any issues, as in such cases I will have the alternate method mentioned in the tutorials.

In MAUI, we define the application's UI (User Interface) using XAML (eXtensible Application Markup Language) and program the functionality and logic of the application using C#.

XAML is a Markup Language that has a very similar syntax to HTML, which is very convenient as we can define the structure and components of our application using XAML similar to how we would define the structure and components of a web page using HTML.

Note
Note

A Markup Language is a system of annotating a document using tags and symbols, to describe its structure and presentation. The most popular markup language is HTML which is used for defining how elements appear on web pages.

1. What is the limitation of Windows Forms and Windows Presentation Foundation?

2. What does MAUI stand for in terms of .NET?

question mark

What is the limitation of Windows Forms and Windows Presentation Foundation?

正しい答えを選んでください

question mark

What does MAUI stand for in terms of .NET?

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  1

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  1
some-alt