development-plugin-for-avalonia

Avalonia Bootstrap and Lifetime

Start with:

Load these when the request touches runtime services or platform shell integration:

Workflow

  1. Choose the lifetime model first: desktop, single-view, or an activatable lifetime hook.
  2. Lock platform bootstrap early and keep platform options on AppBuilder.With<T>(...).
  3. Confirm the XAML compiler, compiled-binding, trimming, and AOT setup before UI work grows.
  4. Keep startup wiring thin: app construction, service registration, and root-window or root-view composition only.

Rules