Skip to content

Parameters

Authoritative source: .template.config/template.json in ConnectSoft.MauiBaseTemplate.

Repo reference: docs/template.md.

Required

Symbol CLI Description
ServiceName --service-name / -sn Replaces MauiBase in names and namespaces (e.g. MyApp).

Identity and TFM

Symbol CLI Default Description
RootNamespace --root-namespace / -rn "" Root namespace; falls back to ServiceName.
AppId --app-id / -id com.connectsoft.mauiapp Bundle identifier (iOS/Android/Mac Catalyst).
Framework --framework / -f net9.0 net9.0 or net10.0.

Feature flags (content / optional folders)

Symbol CLI Default Effect (summary)
UseObservability --use-observability / -obs true OpenTelemetry + infra observability files
UseLocalization --use-localization / -loc true RESX string resources
UseOfflineSupport --use-offline-support / -ofs true SQLite + sync sample + docs/offline-support.md
UseApiIntegration --use-api-integration / -api true Include docs/api-integration.md
UseAuthentication --use-authentication / -auth true Include docs/authentication.md
UsePushNotifications --use-push-notifications / -push true Part of whether docs/platform-features.md is included
UseBiometricAuth --use-biometric-auth / -bio true Part of whether docs/platform-features.md is included

If both UsePushNotifications and UseBiometricAuth are false, docs/platform-features.md is excluded.

Configuration defaults

Symbol CLI Default Description
ApiBaseUrl --api-base-url / -abu https://localhost:5001 Embeds in appsettings content
AuthenticationProvider --authentication-provider / -ap AzureAd AzureAd or Oidc

Post-actions

Symbol CLI Description
skipRestore --no-restore / -nr Skip automatic dotnet restore and workload restore