maui README

The project's README from github.com/dotnet/maui. As one markdown file: README.md.

.NET Multi-platform App UI (.NET MAUI)

.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that can run on Android, iOS, iPadOS, macOS, and Windows from a single shared codebase.

Getting Started

Create a new app with dotnet new maui -n NewApp or a sample app with dotnet new maui -n NewApp -sc that includes the open-source Syncfusion Toolkit for .NET MAUI with over 30 additional controls, the .NET MAUI Community Toolkit with tons of helpers and views, and MVVM Toolkit.

Note: If the maui template is not available, first install the .NET MAUI workload with dotnet workload install maui.

Overview

.NET Multi-platform App UI (.NET MAUI) is the evolution of Xamarin.Forms that expand capabilities beyond mobile Android and iOS into desktop apps for Windows and macOS. With .NET MAUI, you can build apps that perform great on any device that runs Windows, macOS, Android, & iOS from a single codebase. Coupled with Visual Studio productivity tools and emulators, .NET and Visual Studio significantly speed up the development process for building apps that target the widest possible set of devices. Use a single development stack that supports the best-of-breed solutions for all modern workloads with a unified SDK, base class libraries, and a toolchain.

Current News

Follow the .NET MAUI Blog and visit the News wiki page for more news and updates.

FAQs

Do you have questions? Do not worry; we have prepared a complete FAQ answering the most common questions.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests. Proposals for changes specific to MAUI can be found here for discussion.

See CONTRIBUTING, CODE-OF-CONDUCT and the Development Guide.

maui (dotnet/maui)

Searching Database…

23.3K ·GitHub
这是什么?.NET MAUI(Multi-platform App UI)是一个跨平台框架,用 C# 和 XAML 构建原生移动和桌面应用——同一套代码可以运行在 Android、iOS、iPadOS、macOS 和 Windows 上。
所以说它是用来写应用的框架,本身不是一个应用?对:它是一个框架加上统一的 SDK——一套开发体系,包含共享的基础类库和工具链——你可以用它编译出面向手机、平板和桌面的原生设备应用。
我怎么创建第一个 MAUI 应用?用 dotnet CLI 就行:如果模板缺失,先运行 'dotnet workload install maui',然后 'dotnet new maui -n NewApp' 就能生成一个能直接运行的项目骨架。加上 '-sc' 还会得到一个预装了额外工具包的示例应用。
开发时必须用 Visual Studio 吗?生成项目骨架用普通的 dotnet 命令就够了;README 建议把 .NET 和 Visual Studio 的生产力工具以及模拟器搭配使用,这能大大加快在各类设备上构建和测试应用的速度。
MAUI 是用来取代 Xamarin.Forms 的吗?是的——它是 Xamarin.Forms 的演进版,在 Android 和 iOS 手机之外扩展到 Windows 和 macOS 桌面应用,使用的还是同一套 C# 和 XAML 方案。
新建项目开箱自带什么?普通模板就是一个入门应用;'-sc' 示例则打包了开源的 Syncfusion Toolkit(包含 30 多个额外控件)、提供各种辅助类和视图的 .NET MAUI Community Toolkit,以及 MVVM Toolkit。
它现在还在活跃更新吗?是的——README 的 Current News 列出了 .NET 10(2025 年)和 .NET 9(2024 年 11 月)的更新,还有 2024 年与 Syncfusion 达成的开源贡献合作;相关动态会发布在 MAUI 博客和 News wiki 上。
在决定用之前,我能看看用它开发的真实应用吗?README 里链接了 .NET MAUI Customer Showcase,展示了用这个框架开发的应用,此外还有示例和开发指南,你可以先评估一下。
Creator
dotnet
Size
1.7 GB
Stars
23.3K
Age
6y
Commits · 90 Days