Go to content

MVVM is easier than ever before with Source Generators, .NET 7, & the MVVM Toolkit | .NET Conf 2022

A deep dive into the new features in the MVVM Toolkit included in the 8.1 release, specifically those powered by Roslyn source generators. This session will introduce the .NET Community Toolkit and the MVVM Toolkit, go through several new scenarios made possible by source generators, and showcase how they can make life easier for developers (by removing a lot of boilerplate they'd normally have to write manually). It will also outline the source generator architecture and explain how it works and interacts with the IDE. This new release of the MVVM Toolkit will especially be useful for new developers just getting started with MVVM, as it will make the setup necessary to write viewmodels, commands and properties much easier and more compact. The 8.1 release also offers extended support to customize attributes over generated properties, which is especially useful in scenarios such as managing application state through viewmodel serialization, and more. The talk will also include a small demo using .NET MAUI showing how to use the new source generators in practice to refactor a small MVVM application. https://www.dotnetconf.net #DotNet #dotnetconf #dotnet7 πŸ™‹β€β™€οΈπŸ™‹β€β™‚οΈ 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

November 14, 2022