Azure Functions now supports .NET 10 in Public Preview. To use
.NET 10, adjust the target framework in your Functions project, and update
references to Microsoft.Azure.Functions.Worker.Sdk to version 2.0.5 or later. .NET 10 projects can be deployed to app
Source: Microsoft Azure – aggiornamenti