2 ms·
Add the executable as a windows service, stop service, replace executable (SMB copy or rsync or whatever), start service? Probably a cleaner way, but it’s just
by easton 2y ago
Add the executable as a windows service, stop service, replace executable (SMB copy or rsync or whatever), start service?
Probably a cleaner way, but it’s just a exe, so replace it like a exe?
- bragh 2y agoYes, that is obvious, but the problem is that this requires some account to have permissions to start and stop services and to execute commands on the target host. Corporate IT departments are not too happy with that kind of approach nowadays.
- p_ing 2y agoWhile you can do that, you lose the flexibility of IIS without a lot of infrastructure development should you not just want a single website per server running .NET only. Kestrel is fast, though.