This week James is joined by Sergio Pedri, a software engineer on the Microsoft Store client team and contributor to the .NET Community Toolkit to talk about the most recent preview of the toolkit!
The brand new .NET Community Toolkit features several libraries to help developers build apps faster with support for MVVM source generators, performance APIs, and advanced diagnostics. The library has no dependencies on any specific UI frameworks, so they can be used by all developers regardless of the framework or runtime they choose to work on their projects. That is, the .NET Community Toolkit can be referenced by applications and libraries targeting .NET, .NET Core, .NET Standard, .NET Framework, WPF, UWP, .NET MAUI, Xamarin, Unity, and more!
Blog: https://devblogs.microsoft.com/ifdef-windows/announcing-net-community-toolkit-v8-0-0-preview-1?WT.mc_id=dotnet-29192-cxa
MVVM Documentation: https://docs.microsoft.com/windows/communitytoolkit/mvvm/introduction?WT.mc_id=dotnet-29192-cxa
Diagnostics Documentation: https://docs.microsoft.com/windows/communitytoolkit/diagnostics/introduction?WT.mc_id=dotnet-29192-cxa
Performance Documentation: https://docs.microsoft.com/windows/communitytoolkit/high-performance/introduction?WT.mc_id=dotnet-29192-cxa
Chapters:
00:00 - Intro
01:40 - Who is Sergio Pedri?
03:10 - What is in the .NET Community Toolkit?
09:30 - MVVM Toolkit, Source Generators, Validators
18:30 - Validator Deep Dive
22:45 - MVVM Commands
27:20 - Diagnostics - Guard and ThrowHelpers
34:00 - Performance - StringPool, MemoryOwner, SpanOwner, Span2D
39:30 - Wrap-up
🙋♀️🙋♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet
#DotNet #mvvm #sourcegenerators