.NET MAUI

Three desktop apps, one stack: Shiny, .NET MAUI and maui-labs

Allan Ritchie (Shiny)
.NET MAUI

Allan Ritchie shipped three desktop apps on Shiny and .NET MAUI Labs to prove the libraries outside of samples: the Shiny Commander file manager, the Notcho notch panel and the FileServe team file server. Each builds from one MAUI codebase to native AppKit, GTK4 and WinUI heads.

Key points

  • All three apps share one MAUI codebase that builds to AppKit, GTK4 and WinUI heads, with no Mac Catalyst.
  • Because there is no Linux TFM, the GTK4 head is a plain net10.0/net11.0 project that compiles the shared XAML itself.
  • DevFlow pairs an in-app agent with a CLI and MCP server to inspect the visual tree and screenshot a running app.
  • Shiny.Net.HttpServer runs FileServe's whole server, including routing, middleware and cookie auth, without ASP.NET Core.
  • The NuGet feed and npm registry are served from the same host at /nuget and /npm.
  • Shiny.DocumentDb keeps all state in one SQLite file with source-generated JSON and no reflection fallback, safe for trimming.

Why it matters

Anyone who wrote off MAUI on the desktop because Catalyst felt wrong now has three shipping apps to study instead of a sample. The trade-off is honest: the AppKit and GTK4 backends are previews, there is no Linux TFM, and sharing views across heads means linked source with separate code generation per head. Read the documented workarounds first — status items that only appear when created before the first window are the kind of problem you meet at week three. The bigger decision is architectural: Shiny's embedded HTTP server and DocumentDb stand in for ASP.NET Core and EF Core here, and that is the call I would prototype before committing a product to it.

Real-world use

  • A keyboard-first file manager a Total Commander用户 team can run on all three desktops
  • A borderless agent window that floats over the menu bar and never takes keyboard focus, as in Notcho
  • A self-hosted team file server that runs in the tray and also publishes its own NuGet and npm feeds
  • Driving UI tests against the real macOS app through DevFlow and regenerating README and site screenshots in the same run

This summary was generated by the agent from the original post on Allan Ritchie (Shiny). The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message