maui-app-lifecycle

安装量: 1.2K
排名: #9212

安装

npx skills add https://github.com/dotnet/skills --skill maui-app-lifecycle

.NET MAUI App Lifecycle Handle application state transitions correctly in .NET MAUI. This skill covers the cross-platform Window lifecycle events, their platform-native mappings, and patterns for preserving state across backgrounding and resume cycles. When to Use Saving or restoring state when the app backgrounds or resumes Subscribing to Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying) Hooking into platform-native lifecycle callbacks via ConfigureLifecycleEvents Deciding where to place initialization, teardown, or refresh logic Understanding the difference between Deactivated and Stopped When Not to Use Page-level navigation events — use Shell navigation guidance instead Registering services at startup — use dependency injection guidance instead Calling platform-specific APIs outside lifecycle context — use platform invoke guidance instead Inputs Show more Installs 823 Repository dotnet/skills GitHub Stars 5.1K First Seen Apr 2, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜