Skill / SKILL.md

Maui App Lifecycle

managedcode/dotnet-skills

.NET MAUI app lifecycle guidance — the four app states, cross-platform Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying), platform-specific lifecycle mapping, backgrounding and resume behavior, and state-preservation patterns. USE FOR: "app lifecycle", "window lifecycle events", "save state on background", "resume app", "OnStopped", "OnResumed", "backgrounding", "deactivated event", "ConfigureLifecycleEvents", "platform lifecycle hooks". DO NOT USE FOR: navigation events (use maui-shell-navigation), dependency injection setup (use maui-dependency-injection), platform API invocation (use conditional compilation and partial classes).
4 views 527 repository stars 0 commentsUpdated Nov 27, 2026
Overview

.NET MAUI app lifecycle guidance — the four app states, cross-platform Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying), platform-specific lifecycle mapping, backgrounding and resume behavior, and state-preservation patterns. USE FOR: "app lifecycle", "window lifecycle events", "save state on background", "resume app", "OnStopped", "OnResumed", "backgrounding", "deactivated event", "ConfigureLifecycleEvents", "platform lifecycle hooks". DO NOT USE FOR: navigation events (use maui-shell-navigation), dependency injection setup (use maui-dependency-injection), platform API invocation (use conditional compilation and partial classes).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/managedcode/dotnet-skills' skill-source

Use the complete skill-source/catalog/Frameworks/Official-DotNet-MAUI/skills/maui-app-lifecycle directory with your client’s skill installer.

  • catalog/Frameworks/Official-DotNet-MAUI/skills/maui-app-lifecycle

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory catalog/Frameworks/Official-DotNet-MAUI/skills/maui-app-lifecycle

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
447a772174c897ab3aeece364554ad03caf44334970238a99dcf856d7484b42b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills