James Montemagno introduces the .NET Community Toolkit and shows examples of how it greatly simplifies your MVVM code including WPF, .NET MAUI, Xamarin.Forms, and more.
Chapters
00:00 - Introduction and an overview of the .NET Community Toolkit
04:55 - Community Toolkit GitHub page
05:00 - Review of demo starting code
08:30 - Install the CommunityToolkit.Mvvm NuGet package
10:00 - Using the INotifyProperyChanged attribute
12:30 - Inheriting from ObservableObject
13:20 - Using the Using the AlsoNotifyChangeFor attribute
17:10 - Using the ICommand attribute
20:45 - Using the latest C# features in a .NET Framework app
23:10 - Wrap-up
Recommended resources:
Introducing the .NET Community Toolkit (On .NET show episode) - https://docs.microsoft.com/en-us/shows/on-net/introducing-the-net-community-toolkit-mvvm-performance-diagnostics-more
Community Toolkit GitHub page - https://github.com/communitytoolkit
.NET MAUI Workshop - https://github.com/dotnet-presentations/dotnet-maui-workshop
MVVM Source Generators demo code - https://github.com/jamesmontemagno/MVVMSourceGenerators
James on YouTube: https://www.youtube.com/c/JamesMontemagno/
#dotnet #visualstudio #mvvm