Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Use Commanding to Avoid Code Behind (16 of 18) | Building Apps with XAML and .NET MAUI
29Likes
1,188Views
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 shows how to reduce code behind by using Commands. Chapters 0:00 - Introduction 1:00 - Overview of Commanding 4:50 - Adding a Commands class 6:50 - Creating a Save command 8:00 - Referencing commands in XAML 10:00 - Using dependency injection with commands 12:05 - Review what is now in code behind 14:00 - Enabling and disabling the Save button 16:00 - 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

334K subscribers