views:

24

answers:

1

I am trying to break a large web.config file into smaller parts. This has been covered a few times on different stack overflow questions (like this or this) which recommend using the configSource or file attributes.

The problem is this does not work for the system.webServer section used to configure IIS 7 in integrated mode. This is particularly bad for web.config files that have IIS Rewrite rules which tend to bloat the files.

Any help would be greatly appreciated.

A: 

Did you come up with a Solution for this? Have just hit this issue today trying to pull in the handlers section for system.webServer.

Grant Trevor
I did not find a good solution to this problem. I did find http://stackoverflow.com/questions/3004897/changing-iis-url-rewrite-config-location which is a related issue which might have some more suggestions.
smaclell