asp.netcore: develop on win10 run on ubuntu

C#
dotnet publish **path to your solution** --configuration Release --framework netcoreapp3.0 --output .**output path** --self-contained false --runtime linux-x64 --verbosity quiet
Source

Also in C#: