Home » FAQ » .NET MAUI » Should I await long-running work in OnAppearing()?
Do not block OnAppearing. Start the work, keep the task reference for cancellation/observation, and update the UI when the task completes.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with