Where do you host your .net projects? I am especially interested in anything other than azure webapp and VM's/IIS.
[Service]
Type=simple
ExecStart=/usr/bin/dotnet /some/path/myapp.dll
WorkingDirectory=/some/path/
Restart=always
User=someone
Group=someone
[Install]
WantedBy=multi-user.targetFor digitalocean I followed this post which is probably way out of date now https://www.hanselman.com/blog/publishing-an-aspnet-core-web...
For the k3s site the source is here https://github.com/EliotJones/LetsShip/blob/main/kubernetes/... though worth noting I have set up LetsEncrypt incorrectly but that's my lack of k3s understanding.
https://docs.servicestack.net/ormlite/litestream
If you don't want to use Docker, you can also easily deploy to Linux using rsync + supervisor:
Literally 'dotnet {AppName.dll}' and that's it.