.NET MAUI概念:

全称:

 

.NET 多平台应用 UI (.NET MAUI) 是一个开源的跨平台框架,前身是Xamarin.Forms ! 用于使用 C# 和 XAML 创建本机移动和桌面应用。

NET MAUI,共享代码库,可在 Android、iOS、macOS 和 Windows 上运行的应用

应用架构:

 github 地址 : GitHub - dotnet/maui: .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop..NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop. - GitHub - dotnet/maui: .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.https://github.com/dotnet/maui.git

maui 示例 github 地址:  GitHub - dotnet/maui-samples: Samples for .NET Multi-Platform App UI (.NET MAUI)Samples for .NET Multi-Platform App UI (.NET MAUI) - GitHub - dotnet/maui-samples: Samples for .NET Multi-Platform App UI (.NET MAUI)https://github.com/dotnet/maui-samples.git 

使用MAUI好处:

从 Visual Studio 中的单个共享代码库使用 XAML 和 C# 编写跨平台应用。跨平台共享 UI 布局和设计。跨平台共享代码、测试和业务逻辑。

MAUI应用体系结构如下:

控件接口架构

 平台支持要求:

 浏览器支持:

 开发工具版本要求:

 

windows :  Visual Studio 2022 17.3 或更高

macos: Visual Studio 2022 for Mac 17.4 或更高

               

若要生成、签名和部署适用于 iOS 或 macOS 的 .NET MAUI 应用,还需要:

与最新版本的 Xcode 兼容的 Mac。 有关详细信息,请参阅 Apple 的最低要求文档最新版本的 Xcode。Apple ID 和付费 Apple 开发人员计划注册。 需要 Apple ID 才能将应用部署到设备,以及将应用提交到 Apple Store。

 安装好XCode

 注册好开发者账户

安装MAUI

WINDOWS:

MACOS:

MAUI应用启动流程

MAUI常见布局:

 

相关阅读

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。