Why is my .Net 4.7.2 application running quickly on a Virtual machine, but slow in some areas when run on a Azure App Service of the same scale?

Thomas Baxendale 60 Reputation points
2024-09-17T12:59:48.09+00:00

I have a .Net 4.7.2 application that runs perfectly locally and when running on a virtual machine, but is sluggish on some pages when hosted on an app service regardless of scale. What is causing this?

I have checked whether it could be database latency, but this wasn't the issue. I've tried moving the site to it's own server too check if it was some kind of resource contention, this wasn't the issue either. It seems to be just the fact that I am hosting on an Azure App Service.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
{count} votes

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.