Thank you, James and Sergio! I'm so happy to see videos about the news of MVVM! I've watched your MVVM video on your channel and I'm here to delight it in another flavor! Thank you! Keep going! 👏
@Mike-eq3lz2 жыл бұрын
An excellent toolkit, observable collections and derivatives are super useful. Great messaging between View Models as well. I use to use Caliban Micro. This toolkit is a great modern replacement.
@dotnetdevni2 жыл бұрын
Maui feels like its some kind of which craft amazing seeing all the platforms from web desktop and phone finally meld all together.
@dotnetdevni2 жыл бұрын
Amazing xamrain was always do your own validation approach this be great if this goes across all four platforms.
@enzodiaz39212 жыл бұрын
Nice interview. Thanks both!
@isax552 жыл бұрын
Te code generator is really cool, observables and commands auto-generated is really making mvvm easier to implement
@Tronex20092 жыл бұрын
Just rolled back from MCT to MvvmHelpers, since MCT does not reflect RC1 breaking changes yet. I am watching their repo closely and can’t wait to switch back to the Toolkit, because it’s amazing!
@Sergio06942 жыл бұрын
We just released the Preview 3 of the MVVM Toolkit, give it a try! I've written a blog post about it with more info, you can find it here: devblogs.microsoft.com/ifdef-windows/announcing-net-community-toolkit-v8-0-0-preview-3/
@fieryscorpion2 жыл бұрын
Wow this is AMAZING!
@S3Kglitches2 жыл бұрын
That MVVM community toolkit stuff is best. Is it the same what you are showing in your MAUI tutorials, James? I've seen ObservableObject there as well and some very simplified and nicely-looking ViewModels!
@LordErnie2 жыл бұрын
Great video, but I do have some technical questions. I am still a student and I'm trying to get the hang of 'new' techniques like span, and buffers. What are they? What do they do? How do I use them. I hear that they are now an industry standard, but it's hard to keep up for someone who want's to learn. Does anyone have any good pointers? Does James have a video on it perhaps?
@Sergio06942 жыл бұрын
I'd recommend reading through the official docs for both the C# language and the various APIs. For instance, you can see docs about the Span type docs.microsoft.com/en-us/dotnet/api/system.span-1 and docs.microsoft.com/en-us/archive/msdn-magazine/2018/january/csharp-all-about-span-exploring-a-new-net-mainstay. Generally speaking, a span is a type that abstracts over sequences of values (it's essentially a pair of a managed pointer and a length). So, one of the things a span can do is to map over an array, or a slice of an array. The point of the span type is that you don't have to worry/care about where items are. You just know you have a given slice of items you can work on. They could be from an array, from a local buffer, from native memory, who knows, and who cares 😄
@sman63202 жыл бұрын
If I use the attribute [RelayCommand]: how can I get the info about the sender? E.g. which entry control was changed.
@psychotrout2 жыл бұрын
This is really great!
@sangachidam32192 жыл бұрын
Great video thanks. Does all these feature work for mobile app ? Or is this just for windows store app?
@LosWochos762 жыл бұрын
Can you please make a video on how to use validation by using the ObservableValidator in combination with xaml and reflecting errors. I couldnt get it to work...
@DonaldFranciszekTusk Жыл бұрын
Can You please explain me why to use Commands in my private project if I can use Events?
@dasfahrer81872 жыл бұрын
When is WPF navigation coming for the MVVM Toolkit?
@mohammedsadiq69532 жыл бұрын
Can you run prism and the this toolkit at the same time ?
@neralem2 жыл бұрын
What if you are doing the "traditional" mvvm stuff where you separate ViewModels and Models? Sometimes I want to inject a model that just holds the data into the corresponding viewmodel to display and modify it. How do I do that?
@rarepanda37662 жыл бұрын
Awesome. Is there any example targeting all platforms with this toolkit. aswell? Like Web & iOS & Android & Windows & Linux ?
@Sergio06942 жыл бұрын
Hey there! We have a Sample App currently targeting UWP and Xamarin.Forms, but we're looking into adding more targets in the future 😄 github.com/CommunityToolkit/MVVM-Samples
@NehaSingh-fe7nu2 жыл бұрын
Awesome!
@TheRealMrp2 жыл бұрын
From the looks of it, this is not supported for a UWP application?
@bernpaul9868 Жыл бұрын
why people said mvvm is not secure? and they said ruby is one of the top secure ?
@tea_otomo2 жыл бұрын
I really like to use it, why does it not support .NET 6 though (according to NuGet)?
@Sergio06942 жыл бұрын
It does! All packags in the .NET Community Toolkit multi-target both .NET Standard 2.0 .NET 6, so you can use them everywhere 😄
@FANTICOUS322 жыл бұрын
Is it compatible with .Net Framework 4.8 ?
@Otonium2 жыл бұрын
Thanks, where's that nice sample app?
@IdontlikeyouGoogle3 ай бұрын
I cannot use this since this only works on W11 and I'm stuck with W10 and cannot update
@S3Kglitches2 жыл бұрын
MVVM toolkit Messenger - sending messages - why not use C# events? They do broadcasting
@ericblankenburg2 жыл бұрын
Love it
@as2droid2 жыл бұрын
No Codelense reference count for [ObservableProperty] ! I cant believe I fell into this trap :(
@this-is-bioman Жыл бұрын
The sound quality is below any decency
@S3Kglitches2 жыл бұрын
That Guard thing looks just like stuff which has been available in Java Unit tests for years.
@terry_hutt2 жыл бұрын
I wish this worked for .Net Framework. Coding in VB (sorry) the first [ObservableProperty] works but none of the others seem to generate their properties
@robertodalmonte5042 жыл бұрын
The Toolkit is Supercalifragilisticexpialidocious! I was wondering if there's a way to localize the error message from a Resource.resx file Something like: [ObservableProperty] [Required] [MinLength(2, ErrorMessage = Resources.givenName)] [MaxLength(40)] private string _givenName = string.Empty;
@Sergio06942 жыл бұрын
There's no built-in support for localization, but that's outside the scope of the MVVM Toolkit. You could implement your own localization logic for validation in several different ways, eg. by writing your own validation attributes with additional localization logic for generating error messages.
@robertodalmonte5042 жыл бұрын
@@Sergio0694 Thanks Sergio, is there a sample on how to do that anywhere, con you point me in the right direction?