-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade to dotnet 10 #10
Description
Can this function app be easily upgraded to dotnet 10?
Based on my analysis, yes, upgrading to .NET 10 should be straightforward. Here's the assessment:
✅ Good Signs for Upgrade:
Currently on .NET 8.0 (LTS) with modern SDK structure
Using Azure Functions isolated worker model (v4) which supports newer frameworks
Key dependencies are stable and likely support .NET 10:
Microsoft.Azure.Cosmos 3.37.0 ✅
Newtonsoft.Json 13.0.3 ✅
Microsoft.Azure.Functions.Worker 2.50.0-preview1 ✅
Microsoft.AspNetCore.JsonPatch 10.0.0-rc.1 (already newer version) ✅
Microsoft.AspNetCore.JsonPatch - Currently on a release candidate (10.0.0-rc.1). May need to check for stable .NET 10 compatible version
Azure Functions Worker - Currently on preview (2.50.0-preview1). Need to verify GA version supports .NET 10
Minor code compatibility review for any deprecated APIs
Upgrade Steps:
Update TraceabilityAPI.csproj: Change net8.0 to net10.0
Update main_function-app-traceability-api.yml: Change DOTNET_VERSION: '8.0.x' to '10.0.x'
Run dotnet build and test locally
Verify Azure Functions Worker SDK has stable release for .NET 10
Would you like me to prepare the upgrade changes?