Technical documentation

September 12, 2026 · View on GitHub

English | 简体中文

This section explains the scaffolding implementation and how to extend generated applications. For command usage, see the user guide.

DocumentQuestions covered
Architecture and key flowsHow the CLI generates projects, how each process architecture runs, and how automatic changes protect user code
Module lifecycleService registration, initialization order, page injection, and resource ownership
Navigation contractPage registration and integration with standard or custom windows
Recipe contractComponent metadata, file plans, project operations, updates, and removal
Project manifestModule origins, file hashes, baselines, and compatibility boundaries

After changing core mechanisms, run dotnet test src/XamlNexus.TemplateTests/XamlNexus.TemplateTests.csproj. For generated-project dependencies, templates, or build configuration, also run the generated-project acceptance script. Automated tests check code and generated structure. WinUI builds check compilation. GUI behavior and installation upgrades require separate runtime checks.