views:

26

answers:

1

I'm using IIS7 UrlRewrite module. I set up my rules in the web.config <system.webServer><rewrite> section. I want to know if there's a way to define the rules in one external xml file instead of in web.config file. Thanks.

A: 

You can use the sample URL Rewrite providers that include one for storing those in a separate file, see: http://learn.iis.net/page.aspx/803/using-custom-rewrite-providers-with-url-rewrite-module/

CarlosAg