maui-linux-samples/README.md

1.9 KiB

OpenMaui Linux Samples

Sample applications demonstrating OpenMaui Linux - .NET MAUI on Linux.

Samples

Sample Description
TodoApp Full-featured task manager with NavigationPage, XAML data binding, and CollectionView
ShellDemo Comprehensive control showcase with Shell navigation and flyout menu

Requirements

  • .NET 9.0 SDK
  • Linux with X11 (Ubuntu, Fedora, etc.)
  • SkiaSharp dependencies: libfontconfig1-dev libfreetype6-dev

Quick Start

# Clone the samples
git clone https://git.marketally.com/open-maui/maui-linux-samples.git
cd maui-linux-samples

# Run TodoApp
cd TodoApp
dotnet run

# Or run ShellDemo
cd ../ShellDemo
dotnet run

Building for Deployment

# Build for Linux ARM64
dotnet publish -c Release -r linux-arm64

# Build for Linux x64
dotnet publish -c Release -r linux-x64

TodoApp

A complete task management application demonstrating:

  • NavigationPage with toolbar and back navigation
  • CollectionView with data binding and selection
  • XAML value converters for dynamic styling
  • DisplayAlert dialogs
  • Grid layouts with star sizing
  • Entry and Editor text input

TodoApp Screenshot

ShellDemo

A comprehensive control gallery demonstrating:

  • Shell with flyout menu navigation
  • All core MAUI controls (Button, Entry, CheckBox, Switch, Slider, etc.)
  • Picker, DatePicker, TimePicker
  • CollectionView with various item types
  • ProgressBar and ActivityIndicator
  • Grid layouts
  • Real-time event logging

ShellDemo Screenshot

License

MIT License - See LICENSE for details.