點擊上方藍字
關注我們
(本文閱讀時間:6分鐘)
支持 .NET 7 Release Candidate 2 的 .NET 多平臺應用程序 UI (MAUI) 現在可在 Windows 和 Mac 上的 Visual Studio 17.4 Preview 4 中使用。RC2 的主要主題是質量和對帶有 iOS 16 的 Xcode 14 的 .NET 支持。此版本包含在生產中使用的上線支持許可證。
在相關新聞中,還為 MSAL.NET 和 App Center(預覽版)提供了新的庫。這些都是 .NET MAUI 開發人員一直要求的關鍵庫。在使用 Azure Active Directory 和 Microsoft 標識平臺進行身份驗證時,MSAL.NET 是必不可少。App Center 提供應用診斷和分析服務。
使用 MSAL.NET 對 .NET MAUI 應用程序進行身份驗證
https://devblogs.microsoft.com/dotnet/authentication-in-dotnet-maui-apps-msal/?ocid=AID3052907
App Center(預覽版)
https://www.nuget.org/packages/Microsoft.AppCenter/5.0.0-preview.1
.NET 7 Release Candidate 2?
https://devblogs.microsoft.com/dotnet/announcing-dotnet-7-rc-2/?ocid=AID3052907
入門
安裝或升級到 Visual Studio 2022 的最新預覽版:
Visual Studio 2022 for Mac – 17.4 預覽版 4 下載
https://visualstudio.microsoft.com/vs/mac/preview/?ocid=AID3052907
適用于 Windows 的 Visual Studio 2022 – 17.4 預覽版 4下載
https://visualstudio.microsoft.com/vs/preview/?ocid=AID3052907
如果針對 iOS,您現在可以在 Windows 上直接構建到您的 iOS 設備,或者如果您使用的是 Mac(或 Mac 構建主機),則可以從 Apple Developer 網站安裝 Xcode 14.0.x。注意 Apple 對 Xcode 14 的最低要求是 macOS Monterey 12.5,高于Xcode 13.4所需的。
直接構建到您的 iOS 設備
https://learn.microsoft.com/dotnet/maui/deployment/hot-restart?ocid=AID3052907
Mac 構建主機
https://learn.microsoft.com/dotnet/maui/ios/pair-to-mac?ocid=AID3052907
.NET MAUI 學習資源
無論您是剛開始使用 .NET MAUI 開發本機客戶端應用程序,還是已經使用了一段時間,都有大量資源可以幫助您。
▌如何執行
.NET Multi-platform App UI
https://learn.microsoft.com/dotnet/maui/?ocid=AID3052907
.NET MAUI 示例
https://learn.microsoft.com/samples/browse/?expanded=dotnet&products=dotnet-maui?ocid=AID3052907
使用 .NET MAUI 的企業應用程序模式
https://learn.microsoft.com/dotnet/architecture/maui/?ocid=AID3052907
▌初學者培訓
使用 .NET MAUI 生成移動應用和桌面應用
https://learn.microsoft.com/training/paths/build-apps-with-dotnet-maui?ocid=AID3052907
▌發行說明
.NET for Android
https://github.com/xamarin/xamarin-android/releases
.NET for iOS
https://github.com/xamarin/xamarin-macios/releases
.NET MAUI
https://github.com/dotnet/maui/releases
反饋
請通過在 GitHub 上創建問題和針對這些最新版本的 Visual Studio 2022 的反饋按鈕 (Mac | Windows) 來告訴我們您對 .NET MAUI 的體驗。
在 GitHub 上創建問題:
https://github.com/dotnet/maui/issues
Mac | Windows:
https://learn.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2022?ocid=AID3052907
*未經授權請勿私自轉載此文章及圖片。
歡迎前往 .NET 官方博客查詢更多更新信息。
長按識別二維碼
點擊「閱讀原文」前往官方博客?~