dotnet
PropertyChanged.SourceGenerator
Our great sponsors
dotnet | PropertyChanged.SourceGenerator | |
---|---|---|
28 | 2 | |
2,672 | 123 | |
3.5% | - | |
6.2 | 4.6 | |
about 1 month ago | about 1 year ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotnet
-
Current state of MAUI?
Not https://github.com/CommunityToolkit/dotnet
-
Source Generator Debug always NulLReferecneException
Here's some: - MVVM Toolkit - PolySharp - ComputeSharp
-
How did you guys get your first C# job?
Started programming by writing some apps for Windows Phone later UWP during university. A few years ago I started collaborating a lot on GitHub to some Microsoft projects, like the Windows Community Toolkit. There I created a lot of new APIs and libraries, like all the new animation APIs and pipeline brush APIs, etc. I then also proposed adding some general .NET APIs to it, and that's how the MVVM Toolkit was born, along with other libraries which are now moved to the .NET Community Toolkit. Fast forward until about late 2020, and they pinged me saying the new Microsoft Store (which hadn't been announced yet back then) was using several of those new APIs I had written, so we started collaborating more so that I could add more functionality they needed. After that shipped, at some point there was a new opening to which I applied, and here I am in the Microsoft Store team and also leading the .NET Community Toolkit 🙂
-
WPF - MVVM Community Toolkit - RelacyCommand CanExecute not updating
The toolkit's:
-
I want to learn WPF and was told I should use a MVVM based framework any up to date suggestions?
Yeah, the fact properties use fields with annotations right now isn't ideal, it's just the best we could do until C# gets partial properties. I do plan on adding support for that though as soon as C# gets that feature. You can follow the progress here 🙂
-
Guard Library - StaticDotNet.ArgumentValidation
For comparison, CommunityToolkit.Diagnostics has a guard library.
-
Thinking about zero-allocation parsing.
There is some stuff in CommunityToolkit to lower allocations of frequently converted Spans, StringPool comes to mind.
-
WinUI port from UWP my experience
ModernWpf and WpfUI are both great options for making modern looking WPF apps. Combine that with CommunityToolkit.Mvvm and you've got a solid platform for Windows-only desktop apps.
-
using command as event handler
This is part of the problem. There are all of the platform specific toolkits, then the .NET Community Toolkit and its documentation refers to its MVVM portion as if it's a separate "MVVM toolkit".
-
Do you use any type of code generation tools?
The MVVM Toolkit and ComputeSharp ship with two source generators.
PropertyChanged.SourceGenerator
-
Is it just me, or is WPF just harder to work with than WinForms?
Now the ugly part - you need to implement INotifyPropertyChanged. It can be done either manually, or automated with this or this
-
Alternative to Fody.PropertyChanged?
There are another ones: - PropertyChanged.SourceGenerator - NotifyPropertyChangedGenerator - PostSharp.NotifyPropertyChanged
What are some alternatives?
PropertyChanged - Injects INotifyPropertyChanged code into properties at compile time
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
ComputeSharp - A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
MVVM-Samples - Sample repo for MVVM package
PostSharp.NotifyPropertyChanged - auto-magic INotifyPropertyChanged done right
jab - C# Source Generator based dependency injection container implementation.
referencesource - Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework
NotifyPropertyChangedGenerator - Roslyn Analyzer/Generator for avoid boring boilerplate INotifyPropertyChanged implementation.
first-contributions - 🚀✨ Help beginners to contribute to open source projects
SaneWpf
UWP Community Toolkit - The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.