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