Continuous deployment of IIS settings with MSDeploy

女生的网名这么多〃 提交于 2019-12-04 07:15:24

I ended up using powershell web administration module (with PSake for the build) to do this. I would still prefer to do this in a declarative manner.

I've been able to put a bunch of the website settings into my web.config so that they are in source control and easily deploy-able. Not all though. Some seem to get set higher up in the IIS hierarchy and then cannot be overridden by my web.config.

I've never found a way to do this with application pool settings.

For setting up new sites I wrote a small C# WinForms app that uses the programmatic interface to IIS to create the sites and app pools and change their settings. Probably similar to your PowerShell script.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!