C#/Avalonia - Learn MVVM with Avalonia

C#/Avalonia - Learn MVVM with Avalonia

Kevin Bost

9 месяцев назад

16,192 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@kentswan3230
@kentswan3230 - 16.01.2024 09:31

Cool. CommunityToolkit.Mvvm not Reactive UI!!!! Setting up V11 has some intricacies. The biggest problem is the lack of consistent documentation where Avalonia differs from WPF. MVVM works neat! Fluent Theme has some bugs when it comes to certain controls.

Ответить
@pluto7562
@pluto7562 - 16.01.2024 12:56

WinUi 3 enjoyer in shambles

Ответить
@melsawy93
@melsawy93 - 17.01.2024 13:55

Nice, was waiting for you to cover this! Cant wait to watch this! Thank you!

Ответить
@joegopher9280
@joegopher9280 - 19.01.2024 00:11

Extremely helpful!

Ответить
@SirBenJamin_
@SirBenJamin_ - 20.01.2024 17:12

I also love my WPF, but it feels as though it's not getting any love from Microsoft and I don't know where Microsoft desktop app development is really heading ... it seems to be on the back burner and they're focusing on Mobile tech and Web tech. The new Maui stuff looks to be more mobile app based, and not sure about WinUI3. I had a quick play with Avalonia and did some tests with text rendering (which is slow in WPF), and it seems to be a lot more performant that WPF, so that's cool.

Ответить
@MrOudoum
@MrOudoum - 20.01.2024 17:34

In AvloniaUI you can also directly bind public methodes in the ViewModel to Commands in the View.

Ответить
@exception6858
@exception6858 - 20.01.2024 21:43

Very cool! Started diving into Avalonia as well. Didn't have any development experience in MVVM architecture before. How to properly interact from View with ViewModel in Avalonia? It turns out that events available on UI elements can be useful to use in a ViewModel, but how to make the communication correct from an MVVM perspective, I can't figure out.

Ответить
@DevLife717
@DevLife717 - 30.01.2024 11:09

I’ve been doing Flutter for almost a year and in all honesty it’s pretty good. But state management and json serialization aren’t the best dev experience.

However in comparison Avalonia and CommunityMvvm looks amazing together and watching you code makes me miss the power and expressiveness of C#. Dart is pretty good and definitely tolerable but it just can’t compare with C#.

Will finish the video tomorrow- gotta get to bed😊

Ответить
@darianasonova5394
@darianasonova5394 - 05.02.2024 02:38

Make more tutorials with avolonia!! It's really interesting

Ответить
@robgreenhill5990
@robgreenhill5990 - 22.02.2024 16:22

Very informative :) Thank you If you are looking to do further Avalonia tutorials I would really know how to pass the Current Selected Datagrid row back through InvokeCommandAction CommandParameter !!

Ответить
@zzing
@zzing - 07.03.2024 09:27

Thank you for this, half way done but never really saw a good explanation for what a view model was. Now I can see that it is sort of like a model and controller somewhat combined.

The stuff on the plumbing was extremely helpful, it does seem like a clunky version of signals that Angular is now offering. But at least it is easy to use!

Ответить
@androdla
@androdla - 08.03.2024 01:02

I'm learning Avalonia and MVVM, and this video is absolute gold. Thank you.

Ответить
@avaloniaui
@avaloniaui - 19.03.2024 12:56

This is fantastic! ❤

Ответить
@parko1965
@parko1965 - 20.03.2024 20:34

Nice video. One question how would you use the MVVM toolkit's RelayCommand CanExecute with complex properties? Assuming a User class with two string props UserName and Password?

Ответить
@adleywd
@adleywd - 23.03.2024 18:42

I started learning avalonia (with Community Tools.MVVM) at the end of last year and oh boy, if I had found this video before my life would be so easier... lol.
Thanks for the amazing video and shared knowledge!

Ответить
@damascake
@damascake - 29.03.2024 16:20

Why ViewModels messaging each other, instead of update The Model?

Ответить
@theman3282
@theman3282 - 04.04.2024 15:28

this should focus on what community toolkit do and how they do their thing/integration inside avalonia, rather than 10 years old mvvm lingo those who don't know it go watch/read somewhere else please!.

Ответить
@angr7
@angr7 - 08.04.2024 14:14

Thx for nice video, like you style. Very nice for experienced beginners in Avalonia.
For me, this video lacks model implementation(it's probably out of scope). Can you recommend a nice overall video about MVVM in WPF i assume it will be suitable for Avalonia.
My team recently uses winform, but we are planning migration to Avalonia. So I'm looking for a "best practices" and "rules of big thump".

Ответить
@sergejsteinsiek4723
@sergejsteinsiek4723 - 10.04.2024 09:24

Do u make ûdemy courses? I would buy them because noyone ever explain wpf better than u.

Ответить
@sizzlinggw2
@sizzlinggw2 - 14.04.2024 22:40

Thanks for this video, it really helped me get started. Love how you show some troubleshooting and debugging in between too, it shows how to approach the things that might go wrong.

Ответить
@__rikaisuru
@__rikaisuru - 01.05.2024 04:22

I love you. Your pedagogy is great for absolute beginners. Your experience shines through, that's for sure.

Ответить
@DenisIoan
@DenisIoan - 03.05.2024 13:33

Thank you very much!

Ответить
@IT-Entrepreneur
@IT-Entrepreneur - 27.05.2024 14:07

"World, i'm not that fat" xD. Best comment

Ответить
@isaacthor3186
@isaacthor3186 - 30.05.2024 11:50

The most comprehensible yet thorough tutorial I've ever watched. Amazing work mate

Ответить
@انامسلموكفى
@انامسلموكفى - 02.06.2024 09:35

Which default font family is using the Avalonia UI

Ответить
@CH-pv3te
@CH-pv3te - 06.06.2024 01:30

Great video, any chance you do a deep dive on DI in avalonia?

Ответить
@francoislepron2301
@francoislepron2301 - 12.07.2024 07:06

Merci beaucoup.

Ответить
@realybin
@realybin - 19.07.2024 17:04

Thanks, your project templates and videos have helped me a lot, is the nuget dependency due for an update? I learned a lot from a project template from a very awesome person, thanks again!

Ответить
@jt_simon
@jt_simon - 19.07.2024 23:43

This video is amazing

Ответить
@moose43h
@moose43h - 23.07.2024 12:04

for the first time i guess how mvvm works

Ответить
@successorbot9934
@successorbot9934 - 26.07.2024 09:25

I would love to see more of Avalonia! Something like (but not literally) a todo app would be great.

Ответить
@willgordon5737
@willgordon5737 - 06.08.2024 10:17

In AvaloniaUI is so frustrating, THERE IS NOT PROPER DOCUMENTATION!!!

I literally went to the DatePicker documentation page, to see how can i programmatically open it from another control

THIS IS ALL WHAT I FOUND
👇

<DatePicker/>

Ответить
@ABMedia83
@ABMedia83 - 05.09.2024 18:48

MVVM is great pattern, it's very useful, it simplifies your code. With that being said, I can't stand the no code behind purest, I think those guys hold frameworks like Avalonia, MAUI, WinUI and WPF back.

Ответить
@ElCidPhysics90
@ElCidPhysics90 - 25.09.2024 04:37

Don’t skin cats! I’m here in September 2024 and that phrase hits a little different today

Ответить
@hughpickard1287
@hughpickard1287 - 29.09.2024 17:28

The first MVVM tutorial that I've managed to watch all the way through (and I've watched a few!). I learnt at lot and will give MVVM a go (I've always just used code behind in my relatively simple apps). I loved the way you did your own implementation of a property before then showing how to do it with the Community Toolkit.

I've played with Avalonia a bit and it seems great for Desktop although seems to be missing anything like Navigation in Maui. Avalonia still seems limited for Mobile - there appears to be no page navigation at all.

Many thanks!

Ответить
@ElCidPhysics90
@ElCidPhysics90 - 01.10.2024 04:28

So the MVVM Toolkit is published by Microsoft. Why don’t they just include the infrastructure in the projects?

Ответить