Skip to content

codewerfer/MVVM-pattern-.NET-MAUI

 
 

Repository files navigation

The MVVM Pattern in .NET MAUI

The MVVM Pattern in .NET MAUI

This is the code repository for The MVVM Pattern in .NET MAUI, published by Packt.

The definitive guide to essential patterns, best practices, and techniques for cross-platform app development

What is this book about?

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.

This book covers the following exciting features:

  • 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

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders.

The code will look like the following:

private bool _hideAllergenInformation = true;
public bool HideAllergenInformation
{
 get => _hideAllergenInformation;
 set => SetProperty(ref _hideAllergenInformation, value);
}

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

Chapter Software required OS required
1-14 Visual Studio 2022 or Visual Studio Code Windows, Mac OS X, and Linux (Any)

Errata & Troubleshooting Tips

Page 68 : There is a typo: 'RecipesDetailViewModel' instead of 'RecipeDetailViewModel' (Recipe is singular in the source code)

Page: 65: At the last line of page 65, there is a typo: 'PropertyChhanged' instead of 'PropertyChanged'

Related products

Get to Know the Author

Pieter Nijs is a .NET consultant at Xebia in Belgium, with a keen interest in mobile and cloud development. He’s been instrumental in diverse projects, from vast healthcare and telecom systems to compact LOB apps. Now, Pieter’s exploring AI’s potential to enhance customer projects innovatively. Passionate about technology, he actively experiments and shares knowledge as a conference speaker, trainer, and blogger at blog.pieeatingninjas.be. Pieter has been awarded the Microsoft MVP Award since 2017, reflecting his unwavering passion and expertise in serving the community.

About

, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%