Need help diagnosing the source of extremely slow response times in ASP.NET app service

Drew Lederman 0 Reputation points
2024-06-05T23:44:47.79+00:00

Disclaimer: I am not the person who created or configured our Azure account, services, or settings. I only know enough to be dangerous.

Our App Service is ridiculously slow to respond to client requests (measured in seconds, not milliseconds).

Facts:

  1. It is written using ASP.NET and relies on ancient technologies. I am half way or so through the process of converting it to .NET 8, but it is not a cake walk.
  2. Application Insights is enabled, but I have not enabled things like the profiler.
  3. We are using one Premium v2 instance that will only scale out if it goes over 70% CPU utilization.
  4. The SQL server's diagnostics and the app service's both look fine.
  5. CSS and JS minimizer middleware is in place, and I have done obvious optimizations to decrease the response payload size in general.

I am looking for input from those that know more about this world than I do about things I can do in order to test and attempt to fix things that require fixing (there have to be several; there is no way everyone else's app services are this slow, or nobody would use them).

Thanks in advance

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,934 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lex Li (Microsoft) 6,037 Reputation points Microsoft Employee
    2024-06-06T16:07:22.4666667+00:00

    I don't think anything else is going to be more straightforward than capturing dumps when the slowness happens again,

    https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/capture-memory-dumps-app-service

    But the challenge is whether you know how to analyze them and find the root cause, as that's not a trivial task.

    To get assistance on that path, you might hire an experienced consultant, or open a support case with Microsoft support via https://support.microsoft.com

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.