Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Use the MVVM Design Pattern (14 of 18) | Building Apps with XAML and .NET MAUI
35Likes
1,749Views
2023Dec 6
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/dot... Paul's code generator: https://github.com/PaulDSheriff/PDSC-... Sample code for this series: https://github.com/PaulDSheriff/VSToo... #visualstudio #softwaredevelopment

Follow along using the transcript.

Microsoft Visual Studio

335K subscribers