MAUI Base Template (ConnectSoft.MauiBaseTemplate)¶
Mobile kernel (Layer-analog for MAUI): a standalone solution template for .NET MAUI apps. It does not embed ConnectSoft.BaseTemplate; that repo remains the ASP.NET microservice kernel. Use this template when you need a ConnectSoft-standard MAUI layout that pairs with backend services generated from other Factory templates.
Documentation map¶
| Section | Purpose |
|---|---|
| Getting Started | Install template, workloads, first build |
| Parameters | dotnet new symbols and feature flags |
| Solution structure | Projects and tests |
| Architecture | Layers, dependency rules |
| Features | Capabilities and template switches |
| Configuration | appsettings, options |
| Authentication | MSAL / OIDC patterns |
| Resiliency | HTTP client resilience |
| Testing | Unit, integration, UI tests; coverage |
| Development | Extending the scaffold |
| Use cases | When to choose this template |
| Runbook | CI/CD and operations |
Capabilities (summary)¶
- Layers:
*.Application(MAUI host),*.Core(no MAUI refs),*.Infrastructure,*.Shared. - MVVM:
CommunityToolkit.Mvvm;BaseViewModel/BaseServicein Core. - Observability (optional): OpenTelemetry metrics/activities, OTLP, Serilog sinks — aligned with ConnectSoft.BaseTemplate-style package lines where applicable.
- Localization (optional): RESX +
IStringLocalizer. - Offline (optional): SQLite (
sqlite-net-pcl), sync abstractions and sample — controlled byUseOfflineSupport. - Guided docs in-repo for API integration, authentication, platform features, deployment (optional excludes via template symbols).
Canonical depth in the repository: ConnectSoft.MauiBaseTemplate — docs.
dotnet new¶
| Property | Value |
|---|---|
| Short name | connectsoft-maui-base |
| Identity | ConnectSoft.MauiBaseTemplate |
dotnet new install <path-or-package-to-template>
dotnet new connectsoft-maui-base --service-name MyApp -o ./MyApp
Exact parameter names and defaults: Parameters and repo docs/template.md.
Related¶
- Templates registry
- Templates dependencies
- MAUI mobile template backlog plan — engineering planning (validate against the live repo)
- ConnectSoft.AI.SoftwareFactory.Documentation — MAUI Base (agents)