publish .net 5.0 core to linux nginx code example Example: asp.net core 3.1 publish on ubantu dotnet publish --configuration Release