Hacker News new | ask | show | jobs
by bragh 467 days ago
If you are anyway forced to use IIS for hosting for some reason, then why not use msdeploy.exe for deployment? I have recently used this guide with great success https://dennistretyakov.com/setting-up-msdeploy-for-ci-cd-de...

Can't find the documentation for it now, but in some version of msdeploy they also added a way to automatically bring the site offline while deployment was done so that the deployment is not blocked by files in use.

1 comments

Thanks for the link, I'll be sure to check it out! Although the biggest pains at the moment are the connections and accounts, anything to smooth out the process is of great interest

UPD: https://learn.microsoft.com/en-us/aspnet/web-forms/overview/...

It does indeed look simpler! I'll have to dig in to find out how exactly the remoting works and what user permissions are needed, but this could be the next step. Thanks a bunch!

The 'web-forms' in the link does not look very promising, I wouldn't be surprised if it only supported legacy ASP.NET correctly.