Updating app service from .NET 6 to 8

Rebekah Williams 0 Reputation points
2024-04-30T20:53:38.6433333+00:00

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!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,455 questions
ASP.NET Core
ASP.NET Core
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
    2024-05-01T07:03:34.24+00:00

    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