how to host asp.net core api in linux code example Example: asp.net core 3.1 publish on ubantu dotnet publish --configuration Release