Updating app service from .NET 6 to 8

Rebekah Williams 0 Reputation points

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a couple of our backends to .net 8 and they've all worked with no issues).

When I deploy the backend via Pipelines in succeeds and goes to the registry that it should. But when I try to access the backend it gives a 503 error for any and all calls.

Anyone have experience with this? Any help would be appreciated!

Microsoft Technologies based on the .NET software framework.
3,455 questions
A set of technologies in the .NET Framework for building web applications and XML web services.
4,235 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,006 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azizkhon Ishankhonov 200 Reputation points

    Hi Rebekah Williams

    As I understood, the infrastructure is the same, but some projects run successfully and some do not.

    Intuition tells me that the problem is in the project itself, in the dependencies. For example, environment variables, configurations, network restrictions, etc.

    In order to identify the issue please take logs and if still unclear please share the error logs we will try to resolve the issue. Here article about logging in to Azure App Service: Azure App Service Logging: How to Monitor Your Web Apps in Real-TimePlease accept answer if it was helpful