State and application services
Connect application state to the UI, resolve shared services, and manage asynchronous work and resource lifetimes.
In this section
- State and UI updates - Keep view state and request the right layout or rendering update.
- Services and dependency injection - Inject application services and choose their scopes.
- Async work and the UI thread - Load asynchronously, dispatch UI changes, and reject stale completions.
- Application and window lifetime - Own application, window, and page lifetimes across hosts.
- Own and release resources - Pair subscriptions and resources with their owning lifetime.
Explore the full Reference for related topics.