Book Image

.NET MAUI Cross-Platform Application Development - Second Edition

By : Roger Ye
3 (1)
Book Image

.NET MAUI Cross-Platform Application Development - Second Edition

3 (1)
By: Roger Ye

Overview of this book

An evolution of Xamarin.Forms, .NET MAUI is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. Using .NET MAUI, you can develop apps that’ll run on Android, iOS, macOS, and Windows from a single shared codebase. In this revised edition of .NET MAUI Cross-Platform Application Development you will be introduced to .NET 8 and get up to speed with app development in no time. The book begins by showing you how to develop a cross-platform application using .NET MAUI, including guidance for migrating from Xamarin.Forms. You’ll gain all the knowledge needed to create a cross-platform application for Android, iOS, macOS, and Windows following an example project step by step. As you advance, you’ll integrate the latest frontend technology into your app using Blazor components, including the new Blazor Bindings feature. After this, you’ll learn how to test and deploy your apps. With new coverage on creating mock .NET MAUI components, you can develop unit tests for your application. You will additionally learn how to perform Razor component testing using bUnit. By the end of this book, you’ll have learned how to develop your own cross-platform applications using .NET MAUI.
Table of Contents (18 chapters)
Free Chapter
1
Part 1: Exploring .NET MAUI
9
Part 2: Implementing .NET MAUI Blazor
13
Part 3: Testing and Deployment
16
Other Books You May Enjoy
17
Index

Exploring .NET MAUI

In the first part of this book, we will delve into .NET MAUI programming. We will begin with an introduction to .NET MAUI and its predecessor, Xamarin.Forms. Following that, we will create a code base using the Visual Studio template for our application. Throughout this book, we will develop a password manager app called PassXYZ.Vault, building it step by step. During the app’s development, we will cover user interface design using XAML, the MVVM pattern, data binding, Shell, and dependency injection, among other topics.

By the end of Part 1, we will have completed a fully functional password manager application. In this part, we’ll explore some of the important groundwork for this application, such as using the .NET Community Toolkit in the context of MVVM and data binding. This will enable you to build and implement applications that involve handling high volumes of data effectively.

Part 1 includes the following chapters:

  • Chapter 1, Getting Started with .NET MAUI
  • Chapter 2, Building Our First .NET MAUI App
  • Chapter 3, User Interface Design with XAML
  • Chapter 4, Exploring MVVM and Data Binding
  • Chapter 5, Navigation Using .NET MAUI Shell and NavigationPage
  • Chapter 6, Software Design with Dependency Injection
  • Chapter 7, Using Platform-Specific Features