CSharpForMarkup VS Introducing .NET Multi-platform App UI (MAUI)

Compare CSharpForMarkup vs Introducing .NET Multi-platform App UI (MAUI) and see what are their differences.

CSharpForMarkup

Concise, declarative C# UI markup for .NET browser / native UI frameworks (by VincentH-Net)

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. (by dotnet)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
CSharpForMarkup Introducing .NET Multi-platform App UI (MAUI)
7 273
709 21,556
- 1.2%
8.5 9.9
7 days ago 2 days ago
C# C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

CSharpForMarkup

Posts with mentions or reviews of CSharpForMarkup. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-14.
  • .NET 8 – .NET Blog
    12 projects | news.ycombinator.com | 14 Nov 2023
    It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.

    Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.

    [0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup

    [1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)

  • State of mobile app development within the .NET ecosystem?
    2 projects | /r/dotnet | 2 May 2023
    Uno Platform can be both XAML or C# Markup if you use https://github.com/VincentH-Net/CSharpForMarkup with it.
  • Modern C# software development framework
    4 projects | /r/csharp | 31 Mar 2023
    And if you use https://github.com/VincentH-Net/CSharpForMarkup with it, you can have an all-around C# approach for both front end and back end.
  • What are your gripes with XAML?
    3 projects | /r/dotnet | 6 Mar 2023
    Maybe some c# markup libraries like this one. But I haven't use that so you'd need to check yourself
  • Uno platform: build single-codebase applications across all platforms
    7 projects | news.ycombinator.com | 16 Aug 2022
    You can CSharpForMarkup with WPF, WinUI 3, Uno Platform. with AvaloniaUI and Maui coming and possibly Blazor.

    https://github.com/VincentH-Net/CSharpForMarkup

  • Performance Improvements in .NET 6
    14 projects | news.ycombinator.com | 19 Aug 2021
    To manage mental mapping of what is being drawn, I keep methods that create widget trees short. My rule of thumb is that whole method has to comfortably fit the screen at once. For each section of the main tree I create a static function that returns a branch of the tree. These functions have descriptive names that help you visualize what element each function builds. If a tree inside a function is long, it is broken down in the same way.

    There are some fluent extensions (for Xamarin.Forms and probably future MAUI) that help you build UI in declarative fashion with C#. Same extensions could be created for other frameworks.

    https://devblogs.microsoft.com/xamarin/c-sharp-markup-for-xa...

    https://github.com/VincentH-Net/CSharpForMarkup

    For reusable custom widgets that can't be done with a static function, I create new classes with their own widget trees. Try to keep widgets composable and avoid inheritance if possible.

    Hot reload is coming in .NET 6, so waiting for rebuild will soon be history.

    I have no experience with QML so I can't really comment on that.

  • What's a Modern Technology Used For Building Desktop Programs?
    2 projects | /r/dotnet | 16 Aug 2021
    If I were to build a windows only desktop app with technology I was moderately familiar with, I'd probably got for WPF + https://github.com/VincentH-Net/CSharpForMarkup Working without XAML makes life so much simpler.

Introducing .NET Multi-platform App UI (MAUI)

Posts with mentions or reviews of Introducing .NET Multi-platform App UI (MAUI). We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-14.
  • Developers are not happy with .NET MAUI, but nobody in the team cares about it
    1 project | /r/hackernews | 27 Nov 2023
  • Android predictive back support
    1 project | /r/dotnetMAUI | 25 Nov 2023
    I am migrating XF app into MAUI and writing a simple Navigation framework because Prism doesn't work well and I didn't use anything advanced anyway. So, I am surfing the code of MAUI to intercept all the back buttons, etc. I haven't found a single mention of apis related to predictive back "RegisterOnBackInvokedCallback", "OnBackInvokedDispatcher", "OnBackPressedDispatcher", "AddCallback", "android:enableOnBackInvokedCallback" Also I don't see any issue on github that would say "Support Android Predictive back". Only one kinda related https://github.com/dotnet/maui/issues/8680
  • Group List View And Collection View are not working In .NET MAVI For IOS
    1 project | /r/dotnetMAUI | 25 Nov 2023
    Below issue is still reproducing in Maui .net7.0 version also. #10163
  • .NET 8 – MAUI
    1 project | news.ycombinator.com | 14 Nov 2023
    Maui is Open Source, MIT License

    https://github.com/dotnet/maui

    .NET is Open Source

    https://dotnet.microsoft.com/en-us/platform/open-source

    I do share your skepticism of Microsoft, but it looks like the economics and cash flow dynamics have changed drastically after the advent of the cloud.

    Microsoft is more focused on getting developers onto its ecosystem and help them with open source projects with the hope that they will use its Azure cloud services and bring in the money.

    My skepticism is a bit relaxed now and I have no qualms using .NET.

    I hope I am not wrong.

  • .NET 8 – .NET Blog
    12 projects | news.ycombinator.com | 14 Nov 2023
    It's a bit of a hit and miss as of today. CLI, back-end and natively compiled libraries (think dll/so/dylib or even .lib/.a - you can statically link NAOT binaries into other "unmanaged" code) work best, GUI - requires more work.

    Avalonia[0] and MAUI[1] have known working templates with it, but YMMV.

    [0] https://github.com/lixinyang123/AvaloniaAOT / https://github.com/AvaloniaUI/Avalonia/ / honorable mention https://github.com/VincentH-Net/CSharpForMarkup

    [1] https://github.com/dotnet/maui (try out with just true in csproj - it is known to work e.g. on iOS)

  • What's New in Final RC for .NET 8, .NET MAUI, Asp.net Core and EF8
    2 projects | news.ycombinator.com | 12 Oct 2023
    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

  • MSFTbot: “We've moved this issue to the Backlog milestone”
    1 project | news.ycombinator.com | 29 Sep 2023
  • Every other tab in Shell doesn't show Shell.TitleView on Android
    1 project | /r/dotnetMAUI | 31 Jul 2023
    First I came across this Github issue: https://github.com/dotnet/maui/issues/9687 - According to this issue, this is a known bug for MAUI iOS, but it works OK for MAUI Android. As I said, I target Android only and I have the exact same issue. It's apparantly fixed with some of the latest versions for MAUI but the problem still occurs to me even with MAUI version:
  • Bindable properties issue with Custom controls
    1 project | /r/dotnetMAUI | 12 Jun 2023
    I saw this and tried to imitate (ofc my lack of experience wouldn't allow me to do it in the exact way). Already found some documentation that allowed to understand better. Thanks for the insigh.
  • ASP.NET Core - how to create an IdentityUser account from an external login
    1 project | /r/csharp | 31 May 2023
    I implemented the Auth controller following this sample code from Microsoft.

What are some alternatives?

When comparing CSharpForMarkup and Introducing .NET Multi-platform App UI (MAUI) you can also consider the following projects:

ModernWpf - Modern styles and controls for your WPF applications

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!

Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology

WPF - WPF is a .NET Core UI framework for building Windows desktop applications.

mobile - The mobile app vault (iOS and Android).

maui-linux - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

HandyControl - Contains some simple and commonly used WPF controls

Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.

react-native-windows - A framework for building native Windows apps with React.