Is it possible to save rewrite rules configured on the level of a website to the applicationHost.config, while using IIS Manager? (I know how to do that manually)
By default they are saved to Web.config file.
I need it to get rules deployed to other servers by MSDeploy tool.
Yes it is possible to do this but you won't have all the nice UI features that the URL Rewrite applet has.
On the main features view for your site there's an icon marked "Configuration Editor", double click to open:
There are two drop down boxes named
The UI is driven from the raw schema data stored in:
It's fairly "no-frills" but does expose some configuration elements/attributes that some of the configuration feature applets sometimes don't show.
Even though fairly basic, it's safer to use this on a production server rather than hacking away at