If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
1,188 views • Dec 6, 2023 • #visualstudio #softwaredevelopment
Show less
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…...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…...more