Hacker News new | ask | show | jobs
by easton 462 days 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?

2 comments

While 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.

Yes, 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.