I've noticed that when I deploy my application via msdeploy all of the url re-writes (IIS 7.5) are removed. How can I prevent this from happending or how can I build the url re-write into part of the msdeploy script?
Ok, I just wasn't thinking straight. I don't actually have to do anything with MSDeploy. The settings that I create in the IIS manager are simply dumped straight into my applications root web.config. Deploying the new config files always overwrites what I'd set in IIS. The solution is to put the redirects into the web.config and deploy that.
Ok, I just wasn't thinking straight. I don't actually have to do anything with MSDeploy. The settings that I create in the IIS manager are simply dumped straight into my applications root web.config. Deploying the new config files always overwrites what I'd set in IIS. The solution is to put the redirects into the web.config and deploy that.
For example: