jab
dotnet
jab | dotnet | |
---|---|---|
4 | 28 | |
1,007 | 2,737 | |
- | 1.8% | |
8.0 | 5.2 | |
4 months ago | 14 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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.
jab
- Injectio - Source Generator for Dependency Injection
-
Why is no-one using Roslyn token-based code generation with Source Generators?
Having the same issues trying to get into source generators. I don't see too many opportunities to include it in my day-to-day development, or at least with the examples I've seen thus far. The exception being the dependency-injection based ones like https://github.com/pakrym/jab
-
Is the era of reflection-heavy C# libraries at an end?
There's also this https://github.com/pakrym/jab. Though imo, it has some downsides as well. One being less developer friendly when composing things compared to the current registration style and there's also convention based registration that so far isn't as easy to make.
Indeed! They're still early, but source generators can enable this sort of functionality, eg: https://github.com/pakrym/jab
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 🙂
-
AppCenter and ComunityToolkit MVVM Compile-error
This is tracked by https://github.com/CommunityToolkit/dotnet/issues/409. The issue is likely that AppCenter image using an older version of Visual Studio (and Roslyn). The MVVM Toolkit needs at least Roslyn 4.0 (ie. Visual Studio 2022) in order to work. Unfortunately this is not something we can change from the MVVM Toolkit, you have to open a support request for AppCenter to ask for a newer Roslyn version, or see if there is a way for you to enable that in your pipeline 🥲
-
WPF - MVVM Community Toolkit - RelacyCommand CanExecute not updating
The toolkit's:
-
The Next C# with Mads Torgersen
https://github.com/CommunityToolkit/dotnet/issues/224 - one ask and fix.
-
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.
-
CommunityToolkit.MVVM questions
Most likely this: https://github.com/CommunityToolkit/dotnet/blob/main/src/CommunityToolkit.Mvvm/DependencyInjection/Ioc.cs
What are some alternatives?
stronginject - compile time dependency injection for .NET
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! 🚀
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
UrlActionGenerator
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
MVVM-Samples - Sample repo for MVVM package
SqlMarshal - Generates data access using stored procedures
PostSharp.NotifyPropertyChanged - auto-magic INotifyPropertyChanged done right
PropertyChanged.SourceGenerator - Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.
referencesource - Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework