Struggling with .NET 10 on Azure App Service for Linux

0
21
Asked By CuriouslyConfused29 On

I recently tried to update my testing environment to .NET 10, which has just reached GA. I set up a new web app on Azure App Service with Linux and selected the stack as .NET and .NET 10 (LTS). However, after accessing the instance through Kudu Bash and running "dotnet --list-runtimes", I found that only .NET 8.0.21 was installed. I attempted to set up a self-contained build in Azure pipelines, but I ran into a problem where it said there's no target for 'net10.0/linux-x64', even though I configured the UseDotNet@2 task to use version '10.0.x'. While I could deploy using containers as I've done for previous versions, I was hoping not to complicate things with that approach since I don't need the container layer for this situation. I really expected Microsoft's images to natively support their LTS versions—is this expectation too much? Has anyone successfully deployed a .NET 10 app on Azure pipelines to a Linux App Service?

5 Answers

Answered By TechSavvyJoe On

It's pretty common to experience delays with the latest stack deployments on Azure, including .NET versions. The process behind the scenes can take a while, especially around the holiday seasons, so lower your expectations a bit. As a workaround, consider deploying your apps using custom container images based on Microsoft's .NET 10 base images, which should give you more control and are available right away. This approach works for Azure App Service and Azure DevOps too.

Answered By CloudExplorer17 On

I can't speak much about Azure, but I’ve been running some .NET 10 apps on Linux with AWS. It's been smooth for me since they're all compiled using AoT and run under systemd without using ASP.NET.

Answered By DevDude88 On

I suggest going with your own Docker container for now. It can simplify things and give you the flexibility you need.

Answered By LinuxLover101 On

I share your concerns! I was hoping to compare memory usage of a .NET 10 app on Linux versus Windows, but I'm running into roadblocks too. It's surprising how they went live with .NET 10 when it feels like nothing is working consistently.

Answered By CodeMonkey32 On

I faced similar issues with .NET 10. It messed up my Azure Functions after publishing! I'm holding off until they sort out these problems. It’s a bit frustrating that they announced GA yet so many things seem broken.

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.