.NET Core 3.0 Availability on App Service

· GitHub ·

2 min read Original article ↗

I have a web application built on top of Asp.net core 2.1 Web API , Angular, Azure SQL Server DB, Entity Framework 2.1.4 . The application is hosted it in the Azure AppService (please assume the URL as “abctest.azurewebsites.net”) . Also I have configured a custom domain (will call it as “abctest.com”).
The application is working fine with out any issue .

I tried to Migrate this “.net core 2.1” Web API to “.net core 3.1” . Also I upgrade my EF version from “2.1.4” to “2.2.6” . Everything works fine in the local environment . But after I published this build to my Azure App service , I am facing some issues as mentioned below .
The API is having some latency to return the result after updating an records

  • This is happening only when I am using the custom domain end point “abctest.com”. But it is not throwing any error, instead it is fetching the old record (just before the update).
  • Even I have checked the DBs call through the profiler, and there I am not able to find those DB calls . But after some 2-3 minutes , I am getting those records and able to see the DB calls through the profiler.
  • Also I have checked the “request” through the application insights , when I am getting the old records I am not able to find the request logs there. That looks like, it is not even hitting my Azure app service site from the custom domain.
  • Even we tried to roll back the framework to “.net core 2.1” and still it works fine with the same AppService and custom domain.

This issue is not happening with the direct azure website URL (“abctest.azurewebsites.net”) :It is working fine without any issue .
But when the application was running in “.net Core 2.1” , it was working fine with both Azure site URL and custom domain URL.

It will be very helpful if some one able to help to figure out the issue here.