From time to time our blazor application that is hosted in azure does not respond (sometimes more than 30sec) When I look into application insights I notice it is always waiting

The problem is I don't find what it is waiting for. I suspect there is another thread taking a long time like when a user uploads a file, generates a docx file or pdf file I tried looking into the trace file with perfView and jit stats view seems best i think. There I notice long functions like


But I don't understand what this is, called by who or why it takes long. Some stack traces:
Can someone point me in the direction where to look?
The stack traces you've provided can offer valuable insights into the execution flow of the application and help identify potential bottlenecks. Look for patterns in the stack traces, including the functions and methods being called, to understand which parts of the application are contributing to the delays
Ensure that necessary dependencies, tools, and frameworks are installed for local development and testing.
Focus on identifying the specific operations or tasks within the application that are taking a long time to complete. This might include file uploads,
Use browser developer tools or Visual Studio's performance profiler to monitor and analyze performance metrics during local testing.
Reference: