Question: How do you resolve the Error: The framework 'Microsoft.AspNetCore.App' version'3.1.0' was not found when hosting an application in Docker Container Asp.net Core?
Login to See the Rest of the Answer
Answer: Make sure that you are using the right Docker Image. If you are hosting a Dot Net Core Web Application in a Linux Enviroment, make sure that the image you are pulling is of the right version for example, Asp.Net Core 3.1 Docker image hosted in Linuxe Container will be pulled from mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim .
this is amazing