🔧 Use the MVVM Design Pattern (14 of 18) | Building Apps with XAML and .NET MAUI
Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: youtube.com
Author: Microsoft Visual Studio - Bewertung: 2x - Views:16
Welcome to the Building Apps with XAML and .NET MAUI series. Whether you are new to XAML or simply new to the XAML used in .NET MAUI, this series will show you how to start building a .NET MAUI app. In this episode, Paul introduces the MVVM design pattern and shows how to use it in the app.
Chapters
0:00 - Introduction
0:50 - Overview of MVVM
6:45 - Creating a ViewModel base class
7:55 - Creating a ViewModel
9:20 - Retrieving data in a ViewModel
10:00 - Referencing a ViewModel in XAML
11:30 - Binding page elements to ViewModel properties
13:30 - Calling ViewModel methods in code
15:10 - Review what we saw
16:50 - Wrap-up
Recommended Resources
.NET MAUI Docs: https://learn.microsoft.com/en-us/dotnet/maui
Paul's code generator: https://github.com/PaulDSheriff/PDSC-DevUtils
Sample code for this series: https://github.com/PaulDSheriff/VSToolbox
#visualstudio #softwaredevelopment