MVVM for Beginners: Model-View-ViewModel Architecture for Xamarin.Forms, .NET MAUI, WPF, UWP, & More

  Рет қаралды 125,143

James Montemagno

James Montemagno

Күн бұрын

It is go time! Time for some architecture with MVVM, data binding, commanding, and more. In this episode I walk you through everything you need to know about MVVM, what it is, why you need it, and how it can help you be more productive and write less code that is more testable.
I break down MVVM with Xamarin.Forms, however most of the concepts are the same across WPF & UWP. Some key differences are that you have DataContext instead of BindingContext (WPF/UWP) and x:Bind instead of x:DataType - docs.microsoft.com/windows/uw... on UWP for compiled bindings (nothing available for WPF).
Full Xamarin Beginner's Playlist - • Xamarin & Xamarin.Form...
👕 Buy some swag! - jamesmontemagno.myspreadshop....
Time Codes:
00:00 - Introduction
01:30 - What is MVVM?
05:30 - Using Data Binding and INotifyPropertyChanged
14:10 - What is ICommand
17:30 - Using Commands, not Click Handlers
20:30 - Our First View Model
25:00 - Wrap-up
Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.
Links:
* XAML: docs.microsoft.com/xamarin/xa...
* Data Binding: docs.microsoft.com/xamarin/xa...
* Source Code: github.com/jamesmontemagno/my...
What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: cleclothingco.myshopify.com/
What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: / bcez1onhiqx
Follow:
👨‍💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: / jamesmontemagno
🔴 Twitch: / jamesmontemagno
📄 Website: www.montemagno.com
📰 Newsletter: newsletter.montemagno.com/
My Setup:
* Blue Spark Microphone - amzn.to/3qgtYkq
* Blue Pop Filter - amzn.to/3jEWM3r
* Rode Microphone Arm - amzn.to/2Z68AlE
* Sony MDR7306 Headphones - amzn.to/372jxta
* Stream Deck - amzn.to/373Uk1n
* Elgato Cam Link - amzn.to/3a9eGbh
* GoPro Hero - amzn.to/374lm90
* MX Master 2S Mouse - amzn.to/3d7J2gj
* Tecware Phantom Keyboard - amzn.to/3aUP4y9
#MVVM #Xamarin #XamarinForms #XAML

Пікірлер: 186
Better MVVM with MVVM Helpers
21:17
James Montemagno
Рет қаралды 45 М.
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 94 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 49 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 50 МЛН
XAML for Beginners - Xamarin.Forms & .NET MAUI XAML
28:10
James Montemagno
Рет қаралды 73 М.
Passing data in .NET MAUI with Shell to a ViewModel #dotnet #dotnetmaui
0:54
.NET MAUI Explained: What is it, How does it work, and What about Blazor?
34:28
Episode 5: MVVM & Data Binding with Xamarin.Forms
30:39
Microsoft Developer
Рет қаралды 90 М.
WPF in C# with MVVM using Caliburn Micro
1:23:30
IAmTimCorey
Рет қаралды 361 М.
Which Software Architecture Should You Use: MVC, MVP, or MVVM?
24:27
Hello YARP, A Lightning Fast Reverse Proxy with .NET
22:51
James Montemagno
Рет қаралды 7 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 188 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 12 МЛН