Challenges Deploying .NET 10 Apps on Azure App Service (Linux)

0
41
Asked By CuriousCoder92 On

I've been trying to set up an Azure App Service with .NET 10 on Linux since its release and it's been frustrating. I created a new web app with the settings for Linux and selected the .NET 10 (LTS) stack. However, when I checked the runtime using Kudu Bash, it only listed .NET 8.0.21.

I attempted to set up a self-contained build in Azure Pipelines but encountered a problem where the pipeline doesn't recognize 'net10.0/linux-x64' as a target, despite having the UseDotNet@2 task set to '10.0.x'. While I know I could run it in a container (which I've done with .NET 9), I'm trying to avoid that extra layer for simplicity. I expected the LTS versions to be preinstalled on Microsoft's images—am I being unreasonable in that expectation? Has anyone successfully built and deployed a .NET 10 app on Linux via Azure Pipelines?

6 Answers

Answered By DockerNinja88 On

If you're still struggling, consider just using your own Docker container. This can bypass a lot of the issues you’re hitting with the standard Azure setup.

Answered By DoneWithAzure On

Honestly, at this point, I wouldn’t even bother with Azure App Services anymore. They seem to have a lot of issues lately.

Answered By TechyTim23 On

It's pretty common for Azure to have delays in rolling out the latest stack updates, even for their own products. This is especially true around the holiday season. It might be a good idea to temper your expectations. As a workaround, you can deploy your apps using custom container images based on the official .NET 10 images, which you can control yourself. This works well for Azure App Service and Azure DevOps too.

Answered By MemoryWatcher44 On

I was also looking to compare memory usage between .NET 10 on Linux and Windows, but nothing seems functional at the moment. It's baffling how they can announce GA and yet have so many issues.

Answered By AWSAdventurer77 On

While I can't speak for Azure, I have several apps running on Linux with .NET 10 on AWS. It's been smoother for me since I compile with AoT and run under systemd, avoiding ASP.NET entirely, so it's a different setup.

Answered By FunctionHacker99 On

I've had similar issues with .NET 10 screwing up my Azure Functions as well. I think I’m going to hold off for a bit until Microsoft sorts these problems out.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.