.NET MAUI for C# Developers: Build cross-platform mobile and desktop applications

Liberty, Jesse, Juarez, Rodrigo

  • 出版商: Packt Publishing
  • 出版日期: 2023-03-31
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837631697
  • ISBN-13: 9781837631698
  • 相關分類: C#使用者介面 UI
  • 立即出貨 (庫存=1)



A practical guide to mastering C# and .NET MAUI to build native cross-platform apps with a single codebase

Purchase of the print or Kindle book includes a free PDF eBook


Key Features:

  • Extend your skills to build cross-platform native apps for iOS, Android, Windows, and Mac
  • Learn by working on a real-world project
  • Go beyond MAUI and integrate with the .NET ecosystem


Book Description:

While UI plays a pivotal role in retaining users in a highly competitive landscape, maintaining the same UI can be tricky if you use different languages for different platforms, leading to mismatches and un-synced pages. In this book, you'll see how .NET MAUI allows you to create a real-world application that will run natively on different platforms. By building on your C# experience, you'll further learn to create beautiful and engaging UI using XAML or fluent C#, architect a solid app, and discover best practices for this Microsoft platform.

The book starts with the fundamentals and quickly moves to intermediate and advanced topics on laying out your pages, navigating between them, and adding controls to gather and display data. You'll explore the key architectural pattern of Model-View-ViewModel: and ways to leverage it. You'll also get to grips with using xUnit and NSubstitute to create robust and reliable code coverage.

By the end of this book, you'll be well-equipped to leverage .NET MAUI and create an API for your app to interact with a web frontend to the backend data using Blazor and C#.


What You Will Learn:

  • Explore the fundamentals of creating .NET MAUI apps with Visual Studio
  • Understand XAML and fluent C# as the key tools for building your user interface
  • Obtain and Display data using layout and controls
  • Discover the MVVM pattern to create robust apps
  • Acquire the skills for storing and retrieving persistent data
  • Build custom controls when the supplied controls fall short
  • Use unit testing to ensure your app is solid and reliable
  • Integrate into the .NET ecosystem to build a web-based frontend


Who this book is for:

Learning .NET MAUI is targeted squarely at C# programmers, whether or not they have experience with cross-platform or mobile applications, who wish to learn Microsoft's premier platform for building iOS, Android, Windows and Mac apps using a single C#-based solution.


《精通 C# 和 .NET MAUI 的實用指南:使用單一程式碼庫建立原生跨平台應用程式》是一本實用指南,幫助讀者掌握 C# 和 .NET MAUI 技術,以建立原生跨平台應用程式。

購買印刷版或 Kindle 版本的書籍,將附贈免費的 PDF 電子書。

- 擴展技能,建立適用於 iOS、Android、Windows 和 Mac 的跨平台原生應用程式
- 通過實際項目學習
- 超越 MAUI,與 .NET 生態系統集成

在競爭激烈的市場中,使用不同語言為不同平台編寫應用程式,保持相同的用戶界面(UI)可能會很棘手,導致不匹配和不同步的頁面。本書將展示如何使用 .NET MAUI 創建在不同平台上原生運行的實際應用程式。通過利用 C# 的經驗,您將進一步學習使用 XAML 或流暢的 C# 創建美觀和引人入勝的用戶界面,設計堅固的應用程式,並探索這個 Microsoft 平台的最佳實踐。

本書從基礎知識開始,迅速轉向中級和高級主題,包括頁面佈局、導航以及添加控件來收集和顯示數據。您將探索 Model-View-ViewModel(MVVM) 的關鍵架構模式以及如何利用它。您還將掌握使用 xUnit 和 NSubstitute 創建堅固可靠的代碼覆蓋率。

通過閱讀本書,您將具備充分的能力,利用 .NET MAUI 創建應用程式的 API,並使用 Blazor 和 C# 與後端數據的 Web 前端進行交互。

- 使用 Visual Studio 探索創建 .NET MAUI 應用程式的基礎知識
- 理解 XAML 和流暢的 C# 作為構建用戶界面的關鍵工具
- 使用佈局和控件獲取和顯示數據
- 探索 MVVM 模式以創建堅固的應用程式
- 獲取存儲和檢索持久數據的技能
- 當提供的控件不足時,建立自定義控件
- 使用單元測試確保應用程式的穩定性和可靠性
- 集成到 .NET 生態系統中,構建基於 Web 的前端

《精通 C# 和 .NET MAUI 的實用指南》專為 C# 程式設計師而設,無論他們是否具有跨平台或移動應用程式的經驗,都希望學習使用單一基於 C# 的解決方案來建立 iOS、Android、Windows 和 Mac 應用程式的 Microsoft 頂級平台。