dotnet
Windows UI Library
Our great sponsors
dotnet | Windows UI Library | |
---|---|---|
28 | 102 | |
2,711 | 6,021 | |
3.3% | 1.4% | |
6.2 | 7.9 | |
14 days ago | 11 days 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 🙂
-
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
Windows UI Library
- WinUI 3 is now open source
- WinUI3 Source Available
- Can't publish WinUI 3 app
- Leaked Microsoft poll shows fewer employees have confidence in leadership
- Should I start migrating my Xamarin app to MAUI
-
When are we going to have smooth animations ?
I wish that was true, but even the new stuff, like their new frameworks, performs poorly while their older frameworks perform really well. That's brand new code, with no legacy codebase to care for.
-
WinUI Unpackaged --- What am I missing?
The reason why I don't recommend Winui is the million bugs it has. See the github issues page. All Microsoft ui stuff sucks currently. But if you use WPF why not FluentWPF
- Visual Studio UI will get redesigned
-
For the past year and a half I've been working on Wintoys, an app that let's you experience Windows in your way and keep it fresh everyday while having everything you need in one place
Development for WinAppSdk and WinUI 3 is also very slow and Microsoft seems to not want to push it and invest more developers into it for some reason. They try to improve the framework, is just it's a small team. For example it was a headacke to apply the Mica backgrop and required unmanaged code, they made it simpler and reduced it to a line of code but it took months. I have 2 out of 7 issues fixed on WinAppSdk repository and 0 out of 8 issues fixed in the WinUI 3 repository (some of the older than a year). This are just my issues, there are many other opened by other developers. So yeah, it wasn't fun at all. PoweshellSDK had an issue with the Import-Module command and it wasn't fixed for more than a year and probably won't be ever fixed, but I'm glad I found a workaround, even more clean and more safe, otherwise I couldn't have added the posibility to uninstall and change Store apps.
-
Build 23451 includes a better implementation of improved File Explorer tab dragging (you can drag tabs out to create a new window or drag between windows) - still a bit buggy but nice to see anyway!
Compared to UWP or WPF, WinUI 3 is somewhere between 100-200% slower and consumes 7-20 times as much RAM as the old frameworks (for certain operations).
What are some alternatives?
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! 🚀
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
MahApps.Metro - A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
SecureUxTheme - 🎨 A secure boot compatible in-memory UxTheme patcher
MVVM-Samples - Sample repo for MVVM package
WPF - WPF is a .NET Core UI framework for building Windows desktop applications.
PostSharp.NotifyPropertyChanged - auto-magic INotifyPropertyChanged done right
metroframework-modern-ui - My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
jab - C# Source Generator based dependency injection container implementation.
FlatLaf - FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)