.NET Community Toolkit

  Рет қаралды 13,287

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

Пікірлер: 39
@amrosalah01
@amrosalah01 2 жыл бұрын
love Robert's office , lovely doors . Very cozy place .
@JoseSilva-gt6zj
@JoseSilva-gt6zj 2 жыл бұрын
Great video, James! Thank you for doing this sample in WPF! There is a ton of this kind of application! Keep going!
@buseacun6788
@buseacun6788 2 жыл бұрын
Hi, thank you for the video James. I was searching this for two days and I could't understand until I watched this :)
@simaesthesia
@simaesthesia 2 жыл бұрын
I'm just about to start a new WPF project and you guys have just saved me a ton on work! Thanks!
@brycebreitenstein4831
@brycebreitenstein4831 2 жыл бұрын
Mind Blown. Thank you for sharing!
@ericritter46
@ericritter46 4 ай бұрын
Oh jame's, it's beautiful ❤️
@JoseSilva-gt6zj
@JoseSilva-gt6zj 2 жыл бұрын
James, I didn't get you when you said that when we cannot inherit from another class then use "[INotifyPropertyChanged]", if we can, then use inheritance from "ObservableObject". Is it correct? If yes, could you talk about why? Thank you so much! Video time is 12:21 .
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Yeah for example... let's say you inherit from your own base class called "MyBaseClass"... well you couldn't inherit from "ObservableObject" at the same time, so this is where you would use "[INotifyPropertyChanged]"
@JoseSilva-gt6zj
@JoseSilva-gt6zj 2 жыл бұрын
Nice! Thank you so much @@JamesMontemagno !
@devnami
@devnami 2 жыл бұрын
Currently MAUI is not available in the regular VS. It is only for preview mode, when is the availability is going to be in general channel of VS?
@umarfaruq9888
@umarfaruq9888 2 жыл бұрын
Robert deserves an Oscar for his acting.😆
@wassollderscheiss33
@wassollderscheiss33 Жыл бұрын
This toolkit espcially targets MVC Web Application developers, right? So I can ignore it as a Blazor dev?
@sirinebibicha2024
@sirinebibicha2024 Жыл бұрын
very very nice thanks ..
@directionsys
@directionsys 2 жыл бұрын
Very very nice
@installgentoo4362
@installgentoo4362 2 жыл бұрын
In minute 6:20 you said don't put the DataContext there. What did you mean by that?
@toma1385
@toma1385 2 жыл бұрын
great
@lynnbennett9007
@lynnbennett9007 8 ай бұрын
With no more support for VS for Mac, how do we install the community toolkit to VS Code on Mac?
@dalli-photo
@dalli-photo 2 жыл бұрын
Hi, great video! Do you have a navigation example for WPF?
@bity-bite
@bity-bite 2 жыл бұрын
Everyone does navigation in MVVM differently, go with the way that you feel comfortable with.
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Yeah the toolkit isn't a framework just helpers and works with every application. So navigation is up to you.
@xamarinmaster1403
@xamarinmaster1403 2 жыл бұрын
With Xamarin.Forms, I am used to using the code behind page class as the view model since it already implements INotifyPropertyChanged. Therefore, I would just set the BindingContext = this and life was good. I attempted to do the same thing with MAUI and with these new code generators. Unfortunately, it doesn't work. It looks like the implementation of INotifyPropertyChanged is slightly different between MAUI Pages and the CommunityToolkit. The end result is: cannot convert from 'System.ComponentModel.PropertyChangedEventArgs' to 'string'. Can this be fixed? I find using the Page class as the ViewModel very convenient as that means one less class to deal with. But perhaps this is bad practice?
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
I added a Xamarin.Forms sample in tehre so take a look at the source code :)
@xamarinmaster1403
@xamarinmaster1403 2 жыл бұрын
@@JamesMontemagno my question is regarding MAUI, not Xamarin.Forms. Also, my question is regarding using the Page class as the view model for itself, BindingContext = this; your sample does not address my question.
@markmbouma
@markmbouma 2 жыл бұрын
That's amazing
@user-je8he7ox6p
@user-je8he7ox6p 2 жыл бұрын
Amazing!
@kevinmungame1869
@kevinmungame1869 2 жыл бұрын
Good stuff
@rainfallen1064
@rainfallen1064 2 жыл бұрын
Don't you just love magic codes
@chrisjohnson7255
@chrisjohnson7255 Жыл бұрын
I love helper functions! But I always get imposter syndrome, "how can something so easy, be so good?"
@ddavid8888888
@ddavid8888888 2 жыл бұрын
I would love to know When it would come to maui, last time I tried to use it it didn’t work at all
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
It works perfect with .NET MAUI as I mentioned and have in the sample repo: github.com/jamesmontemagno/MVVMSourceGenerators
@directionsys
@directionsys 2 жыл бұрын
Please, links to this repo
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Added links in there
@BloodHaZaRd666
@BloodHaZaRd666 2 жыл бұрын
Ok now I ll get more stupid using this MVVM thing
@StephBsimon
@StephBsimon 2 жыл бұрын
wouldn't it be wonderful if you had at least a single sample that u could actually clone from git and compile without throwing visual studio into a shock! the mvvm project is broken, same with the maui sample. just the time spent trying to resolve these conflicts makes you wonder...
@JamesMontemagno
@JamesMontemagno 2 жыл бұрын
Would love to know what issues you are running into. I pulled the source code and is workign just fine. I did a few small tweaks today for styles, but in general working on my machines. please open an issue, but also make sure you are up to date on Visual Studio 2022 previews
@James-rx5eb
@James-rx5eb 2 жыл бұрын
Could you provide an example of using attributes to achieve something like a RelayCommand with a CanExecute changed? i.e. You can't hit `Submit` until `!string.IsNullOrWhiteSpace(FullName)` ?
@rugeneus
@rugeneus 2 жыл бұрын
Amazing!!!
Managing Azure Services in a Visual Studio Project
41:07
Microsoft Visual Studio
Рет қаралды 1,8 М.
Less Boilerplate Code with Metalama by PostSharp
27:43
Microsoft Visual Studio
Рет қаралды 4,3 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 102 МЛН
Flipping Robot vs Heavier And Heavier Objects
00:34
Mark Rober
Рет қаралды 59 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
C#/WPF - Learn MVVM with the .NET Community Toolkit
1:46:13
Kevin Bost
Рет қаралды 54 М.
What is the MVVM pattern, What benefits does MVVM have?
22:38
James Montemagno
Рет қаралды 100 М.
Creating .NET MAUI UIs in C# Markup
24:49
dotnet
Рет қаралды 21 М.
The .NET MAUI Community Toolkit: Converters, Controls and More!
14:59
Gerald Versluis
Рет қаралды 17 М.
How much does the Windows Community MVVM Toolkit REALLY help us?
7:02
Even More MVVM Source Generator Awesomeness for .NET Developers
12:54
James Montemagno
Рет қаралды 27 М.