Allow viewing async tasks in ASP.NET applications
This suggestion is migrated to Developer Community. Please use below link to view the current status.
Currently, it doesn't seem possible to get a view of async tasks in the Tasks window when debugging an ASP.NET application. It seems that asynchronous (async/await) coding is being pushed by Microsoft and is becoming a generally accepted Good Thing for web applications in many languages, but debugging asynchronous applications with no visibility of outstanding or current tasks is very difficult.
The Tasks debugging window only seems to work in a very simple scenario: when running an application (such as a console app) under the debugger via F5. Attaching to an existing process or launching an ASP.NET application running under IIS simply displays "No tasks to display".
Being able to view outstanding tasks would make debugging asynchronous ASP.NET code significantly easier.
Thank you for using Visual Studio and for your commitment to improving it. We are currently evaluating whether we will be able to provide the ability to show outstanding tasks in the Tasks window after attaching to a running application as suggested. We will be providing an update soon.