Why is my Angular App slower on App Service Linux than on App Service Windows

MolyviatisL 1 Reputation point
2022-11-19T18:57:14.97+00:00

Hi,

I have an Angular App that uses .NET 6 WebAPIs. I created the application using the Visual Studio 2022 template "ASP.NET Core with Angular". The application calls an SQL Server database which is also hosted in Azure. When I deploy this to an Azure App Service Windows it is twice as fast (calls roughly 400ms instead of 900ms each) as deploying to Azure App Service Linux, despite a higher specification on Linux (B2 instead of B1). They are both configured the same and pointing to the same database. They are also in the same geographic location. What could be the cause?

Please help

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,907 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2022-12-09T06:19:19.747+00:00

    When browsing the app and the pages load slowly then suggest you to follow below three distinct tasks, in sequential order. This gives you various options at each step.

    1. Observe and monitor application behavior
    2. Collect data
    3. Mitigate the issue

    Let us know

    0 comments No comments