How can I prevent deadlocks when awaiting navigation or async calls?

Platform: .NET MAUI| Category: Navigation

Avoid .Wait() and .Result. Prefer async Task (not async void, except for event handlers). Use ConfigureAwait(false) inside libraries so callers do not capture the UI context accidentally.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.