microsoft visual studio 2017 asp.net core 2.1 in ubuntu 20.04 with nginx code example Example: asp.net core 3.1 publish on ubantu dotnet publish --configuration Release