Exercise - Scale a web app manually - app doesn't run

Dan Py 1 Reputation point
2021-01-28T20:38:36.143+00:00

While studying the Azure exercise "Scale an App Service web app to efficiently meet demand with App Service scale up and scale out" part 3, I input the command to run the web app, and go t the following output: dotnet run It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '2.1.0' was not found. - The following frameworks were found: 3.1.9 at [/usr/share/dotnet/shared/Microsoft.NETCore.App] You can resolve the problem by installing the specified framework and/or SDK. The specified framework can be found at: - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=cbld.10-x64 Can anyone help with how to fix this?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 17,456 Reputation points
    2021-01-29T03:21:09.107+00:00

    Hi @Dan Py ,

    The error message helps identify the solution. You can resolve the problem by installing the specified framework and/or SDK. You need to download the hosting bundle from here. The ASP.NET Core Hosting Bundle contains everything you need to run existing web/server apps.

    Hope that helps! Please let us know if you have further questions.

    Thanks,
    Grace

    0 comments No comments