Introducing the .NET Community Toolkit - MVVM, Performance, Diagnostics, & More

  Рет қаралды 31,763

dotnet

dotnet

Күн бұрын

Пікірлер: 40
@JoseSilva-gt6zj
@JoseSilva-gt6zj 2 жыл бұрын
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-eq3lz
@Mike-eq3lz 2 жыл бұрын
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.
@dotnetdevni
@dotnetdevni 2 жыл бұрын
Maui feels like its some kind of which craft amazing seeing all the platforms from web desktop and phone finally meld all together.
@dotnetdevni
@dotnetdevni 2 жыл бұрын
Amazing xamrain was always do your own validation approach this be great if this goes across all four platforms.
@enzodiaz3921
@enzodiaz3921 2 жыл бұрын
Nice interview. Thanks both!
@isax55
@isax55 2 жыл бұрын
Te code generator is really cool, observables and commands auto-generated is really making mvvm easier to implement
@Tronex2009
@Tronex2009 2 жыл бұрын
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!
@Sergio0694
@Sergio0694 2 жыл бұрын
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/
@fieryscorpion
@fieryscorpion 2 жыл бұрын
Wow this is AMAZING!
@S3Kglitches
@S3Kglitches 2 жыл бұрын
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!
@LordErnie
@LordErnie 2 жыл бұрын
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?
@Sergio0694
@Sergio0694 2 жыл бұрын
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 😄
@sman6320
@sman6320 2 жыл бұрын
If I use the attribute [RelayCommand]: how can I get the info about the sender? E.g. which entry control was changed.
@psychotrout
@psychotrout 2 жыл бұрын
This is really great!
@sangachidam3219
@sangachidam3219 2 жыл бұрын
Great video thanks. Does all these feature work for mobile app ? Or is this just for windows store app?
@LosWochos76
@LosWochos76 2 жыл бұрын
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
@DonaldFranciszekTusk Жыл бұрын
Can You please explain me why to use Commands in my private project if I can use Events?
@dasfahrer8187
@dasfahrer8187 2 жыл бұрын
When is WPF navigation coming for the MVVM Toolkit?
@mohammedsadiq6953
@mohammedsadiq6953 2 жыл бұрын
Can you run prism and the this toolkit at the same time ?
@neralem
@neralem 2 жыл бұрын
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?
@rarepanda3766
@rarepanda3766 2 жыл бұрын
Awesome. Is there any example targeting all platforms with this toolkit. aswell? Like Web & iOS & Android & Windows & Linux ?
@Sergio0694
@Sergio0694 2 жыл бұрын
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-fe7nu
@NehaSingh-fe7nu 2 жыл бұрын
Awesome!
@TheRealMrp
@TheRealMrp 2 жыл бұрын
From the looks of it, this is not supported for a UWP application?
@bernpaul9868
@bernpaul9868 Жыл бұрын
why people said mvvm is not secure? and they said ruby is one of the top secure ?
@tea_otomo
@tea_otomo 2 жыл бұрын
I really like to use it, why does it not support .NET 6 though (according to NuGet)?
@Sergio0694
@Sergio0694 2 жыл бұрын
It does! All packags in the .NET Community Toolkit multi-target both .NET Standard 2.0 .NET 6, so you can use them everywhere 😄
@FANTICOUS32
@FANTICOUS32 2 жыл бұрын
Is it compatible with .Net Framework 4.8 ?
@Otonium
@Otonium 2 жыл бұрын
Thanks, where's that nice sample app?
@IdontlikeyouGoogle
@IdontlikeyouGoogle 3 ай бұрын
I cannot use this since this only works on W11 and I'm stuck with W10 and cannot update
@S3Kglitches
@S3Kglitches 2 жыл бұрын
MVVM toolkit Messenger - sending messages - why not use C# events? They do broadcasting
@ericblankenburg
@ericblankenburg 2 жыл бұрын
Love it
@as2droid
@as2droid 2 жыл бұрын
No Codelense reference count for [ObservableProperty] ! I cant believe I fell into this trap :(
@this-is-bioman
@this-is-bioman Жыл бұрын
The sound quality is below any decency
@S3Kglitches
@S3Kglitches 2 жыл бұрын
That Guard thing looks just like stuff which has been available in Java Unit tests for years.
@terry_hutt
@terry_hutt 2 жыл бұрын
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
@robertodalmonte504
@robertodalmonte504 2 жыл бұрын
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;
@Sergio0694
@Sergio0694 2 жыл бұрын
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.
@robertodalmonte504
@robertodalmonte504 2 жыл бұрын
@@Sergio0694 Thanks Sergio, is there a sample on how to do that anywhere, con you point me in the right direction?
@namelastname4077
@namelastname4077 2 жыл бұрын
please do an update
Get Started Quick with the .NET Coding Pack for VS Code
19:55
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 225 М.
.NET Community Toolkit
24:15
Microsoft Visual Studio
Рет қаралды 13 М.
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 105 М.
NVIDIA CEO Jensen Huang's Vision for the Future
1:03:03
Cleo Abram
Рет қаралды 636 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 266 М.
Even More MVVM Source Generator Awesomeness for .NET Developers
12:54
James Montemagno
Рет қаралды 27 М.
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН