Upgrading to .NET 8

Upgrading to .NET 8

I am currently working on several projects, and I plan to migrate all of them to .NET 8. That's why I thought it would be helpful to write an article detailing the various challenges I encountered during this process.

  1. Port 80 is no longer the default

This project is an ASP.NET Web API on .NET 7 and it's really fresh, a few days old, but I still had issues upgrading to .NET 8. When I deployed the project to Azure Container Apps I got this error:

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: delayed connect error: 111

After ~30 minutes I figured out that .NET 8 is listening on port 8080 instead of 80, and when I googled this I immediately found out that this is a breaking change. Here's the link with more details:


I'll update this blog post when I have more stuff.