The MVVM Pattern in .NET MAUI: The definitive guide to essential patterns, best practices, and techniques for cross-platform app development (Paperback)

The MVVM Pattern in .NET MAUI: The definitive guide to essential patterns, best practices, and techniques for cross-platform app development By Pieter Nijs Cover Image

The MVVM Pattern in .NET MAUI: The definitive guide to essential patterns, best practices, and techniques for cross-platform app development (Paperback)

$45.99


Not On Our Shelves—Ships in 1-5 Days
(This book cannot be returned.)

Gain an in-depth understanding of MVVM and .NET MAUI and learn how to effectively apply the MVVM design pattern with the help of this practical guide

Key Features
  • Get to grips with the principles and benefits of the Model-View-ViewModel design pattern
  • Gain insights into .NET MAUI's MVVM-enabling components and effectively apply them with hands-on examples
  • Learn data binding, navigation, and testable code techniques to create dynamic, accessible, and localized apps
  • Purchase of the print or Kindle book includes a free PDF eBook
Book Description

In today's fast-paced world of modern software development, teams need to be efficient, productive, and capable of rapidly adapting to changes to deliver high-quality products, making it crucial for developers to write maintainable and easy-to-test code.

The MVVM Pattern in .NET MAUI helps you to thoroughly explore the Model-View-View Model (MVVM) design pattern. The chapters show you how this pattern helps in structuring code to embrace the separation of concerns, allowing for loosely coupled user interface and application logic, which ultimately empowers you to write more robust, maintainable, and testable code. The book also highlights .NET MAUI's capabilities and features, and enables you to delve into the essential components within the framework that facilitate the application of the MVVM pattern. With the help of a sample application, this definitive guide takes a hands-on approach to walk you through both the essential and advanced usages of the MVVM pattern to ensure that you successfully apply the practical aspects of the pattern to your .NET MAUI projects.

By the end of this book, you'll have gained a comprehensive understanding of the MVVM design pattern and its relevance in the context of .NET MAUI, as well as developed the skills needed to successfully apply it in practice.

What you will learn
  • Gain a thorough understanding of the MVVM design pattern
  • Get to grips with the components that enable MVVM in .NET MAUI
  • Apply the MVVM pattern in practice within .NET MAUI
  • Become proficient in data binding in .NET MAUI
  • Discover how to navigate from within a view model
  • Find out how to effectively write testable code and unit tests
Who this book is for

This book is for developers with experience in C# and basic knowledge of .NET MAUI or Xamarin.Forms who are looking to create cross-platform applications with .NET MAUI and leverage the MVVM pattern. Through practical examples and clear explanations, this book helps both newcomers and experienced developers master the application of MVVM principles within .NET MAUI projects.

Table of Contents
  1. The MVVM Design Pattern
  2. The .NET MAUI Framework
  3. MVVM Enablers in .NET MAUI
  4. Databinding in .NET MAUI
  5. Community Toolkits
  6. Working with Collections
  7. Dependency Injection, Services and Messaging
  8. .NET MAUI Shell and Navigation
  9. Handling User Input and Validation
  10. Working with Remote Data
  11. Creating MVVM-Friendly Controls
  12. Localization and Accessibility with MVVM
  13. Unit Testing
  14. Debugging and Troubleshooting
Product Details ISBN: 9781805125006
ISBN-10: 1805125001
Publisher: Packt Publishing
Publication Date: November 30th, 2023
Pages: 386
Language: English