Skip to content

Templates

Shiny.Templates is the fastest way to get a .NET MAUI app up and running with all the Shiny libraries. Skip the boilerplate — permissions, plists, entitlements, platform-specific files, DI wiring, and logging are all set up for you. Just pick your options and start building.

  • Multiple UI markup options — XAML, Blazor, or C# Markup
  • Push notifications — choose between full native or Azure Notification Hubs
  • Authentication — Web Authenticator, MSAL Basic, MSAL B2C, or MSAL Broker
  • SQLite database — pre-configured and ready to use
  • Localization — set up out of the box
  • Logging — SQLite and Sentry.IO integration
  • AppSettings.json — generated with strongly-typed settings classes
  • Dependency injection — pre-configured in MauiProgram.cs
  • Shiny startup services — scaffolded and registered
  • Android Auto & iOS CarPlay — optional support
  • Apple PrivacyInfo.xcprivacy — generation assistance included
  • 40+ community and Microsoft libraries — curated and configured
  1. Install the templates:

    Terminal window
    dotnet new install Shiny.Templates
  2. Create a new project:

    Terminal window
    dotnet new shinymaui -n MyApp

Works with Visual Studio 2022 (Windows & Mac), and JetBrains Rider 2024+.

The main shinymaui template scaffolds a full cross-platform mobile app with:

  • Platform-specific configuration for iOS, macOS, and Android
  • Dependency injection pre-wired in MauiProgram.cs
  • Logging with SQLite and Sentry.IO
  • AppSettings.json with strongly-typed settings classes
  • Shiny startup service scaffolding
  • SQLite database preparation
  • Localization setup
  • BluetoothLE Hosted Managed Characteristic — scaffold a BLE GATT characteristic
  • Shiny Job — scaffold a background job

The template integrates a curated set of libraries across several categories:

CategoryLibraries
Core.NET MAUI, Shiny.NET, Shiny Mediator, Prism, ReactiveUI, MVVM Community Toolkit
Database & StorageSQLite.NET-pcl, Shiny SqliteDocumentDb, Community LiteDB AOT
UI ComponentsMAUI Community Toolkit, Uranium UI, FFImageLoading, MudBlazor, Radzen Blazor, FluentUI
NetworkingRefit HTTP client
MonitoringSentry error tracking
GraphicsSkiaSharp
UtilitiesHumanizer, Units.NET
Native PluginsBarcode scanning, biometrics, audio, screen recording, calendar, OCR