Azure linux app service + .netcore 3.1 application error

Arnold Si 1 Reputation point
2020-06-15T22:10:29.797+00:00

Hello,
I developed .netcore 3.1 application and tried to deploy it using visual studio 2019.
I've created app service in azure:
10182-11.png

But when I publish the app I'm getting application error page (azure error page).

I went to bash and saw that .netcore that installed on the machine is 2.2 and not 3.1 although I selected 3.1:
10112-12.png

This is what I see in diagnostics:
10191-13.png

I even tried self contained app and still not working.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,879 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.