Hi @65810666
You are currently preparing to upgrade your project to . Net6, which was chosen when creating the app service. Net5. If you upgrade now, theoretically, the app service does not need to make any modifications. If you can't use it after upgrading, you can follow the steps below to add an extension and modify the .NET version in Configuration.
App service is based on a sandbox environment, which theoretically supports projects in common languages today. As shown in the following figure:
As you can see, I chose when I created it. Net6, but as seen through the dotnet command line, it is already supported. Net7. and other programming languages.
Please allow me show the dotnet sdks and runtimes in this app.
From the pictures above, when we upgrade the project, we do not need to make any changes to the app service, we just need to confirm whether the current sandbox environment supports this version.
If it still does not work normally after the upgrade, we need to add a runtime to the extension.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jason