NullGuard
maui-linux
NullGuard | maui-linux | |
---|---|---|
6 | 31 | |
686 | 802 | |
-0.1% | - | |
8.1 | 0.0 | |
21 days ago | 22 days ago | |
C# | C# | |
MIT License | 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.
NullGuard
- How to write C# source code generator to generate ArgumentNullException.ThrowIfNull?
-
Which do you guys mostly use to prevent nulls? Null object pattern/special case, throw exceptions or the FP Option monad?
Nullable reference types + https://github.com/Fody/NullGuard
- That Shouldn't Happen - UnreachableException in .NET 7
-
Will we ever get a new CLR language to replace C# Like Kotlin did for Java?
I find Nullable Reference Types combined with NullGuard to be pretty good.
-
HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
For example here from the readme I can exactly see what boilerplate is generated for me.
-
How to get rid of NullPointerException
Some tools can help to enforce this convention like ReSharper and NullGuard. I guess, although I haven’t tried this yet, you can add a custom rule to SonarQube which will alert when the word null appears.
maui-linux
-
What's New in Final RC for .NET 8, .NET MAUI, Asp.net Core and EF8
While this is the quite endorsed by the community: https://github.com/dotnet/maui/discussions/339
I think the fundamental issue is that desktop Linux is way too fragmented. Not only just GTK2/3 and Qt but you have GNOME, KDE, XFCE, Cinnamon and then you have X11, Xorg, Wayland...
To be honest, all those craps are why desktop Linux never took off. I'm very safe to say MAUI for Linux will eventually renders components off its own using framebuffer and hardware acceleration APIs such as OpenGL or Vulkan just because of the market fragmentations...
If desktop Linux truly wants to get the attention, it will need to unify. Fixing dependency hell using Flatpak is the right direction.
There is an existing old fork of MAUI for Linux that uses GTK: https://github.com/jsuarezruiz/maui-linux
-
Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
There is work being done to address desktop linux, but I agree that is one of the deficiencies.
https://github.com/jsuarezruiz/maui-linux/pull/37
The lack of a WASM target is another, although UNO project in the past provided such a target for MAUI's very closely-related predecessor (Xamarin.Forms).
https://platform.uno/xamarin-forms/
-
Announcing .NET 7 Release Candidate 1
That's more on the fact that there's no official set of native UI in Linux since MAUI uses the platform's native UI instead of drawing everything themselves like Flutter, there have been some community works around this via this repo using GTK as the native UI to target. This is the same case for say React Native where most Linux implementation will likely use Electron as a shell since there's no standard set of platform UI components to choose.
- .NET MAUI on Linux Makes Progress
-
"Microsoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and containers" – yeah, very nice, but there's still no cross-platform way to build graphical .NET apps, right?
There's even a senior engineer at Microsoft who's done some exploratory work on Linux bindings already: https://github.com/jsuarezruiz/maui-linux
- Will we ever get a new CLR language to replace C# Like Kotlin did for Java?
-
Dont u just love ur job as a dev in c#
https://github.com/jsuarezruiz/maui-linux exists but appears to be inactive lately
-
What options exist for creating (simple) GUI applications on Linux?
The applications I'm trying to make all require relatively simple GUI, only needing images, text-boxes, buttons, and basic configuration menus. I have heard of maui-linux however I'm very new to all of this and not sure how to make use of it at all.
- How quickly and efficiently do you believe Linux will get support for MAUI apps?
-
Introducing .NET MAUI – One Codebase, Many Platforms
Kudos to Microsoft and the teams (.Net, etc.) that made this possible! This is really big! What's the team's plan to extend MAUI to Linux? This is key, considering it was the platform that set the cross-platform (xPlat) .Net in motion, where Mono, MonoDevelop (now Visual Studio for Mac), among others, were bred. For example, is it possible to officially support an MAUI implementation for Linux modelled around Gtk? Like what has already been started here? Linux had so much love during the Mono/Xamarin days and has continued to enjoy same as .Net Core (now .Net all across) matures into being genuinely cross-platform. Linux's support will really be a game-changer! MAUI will then be "One Codebase, Many Platforms", indeed! Thanks once again for all the work on MAUI. It's awesome!
What are some alternatives?
csharp-source-generators - A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Optional - A robust option type for C#
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
HttpClientCodeGenerator - HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Eto.Forms - Cross platform GUI framework for desktop and mobile applications in .NET
managed-midi - [Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
QtSharp - Mono/.NET bindings for Qt
dotnet-webgl-sample - .NET + WebAssembly + WebGL = 💖
Qml.Net - Qml.Net - Qt/QML integration/support for .NET
ImGui.NET - An ImGui wrapper for .NET.