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.