It is not necessary to have 2 web.config files. The one located at the root of the site is the actual main web.config and the second, which is inside the folder, indicates the configuration for this subkey.
[ROOT] Home Products Type Cost Make Web.Config <==== Sub configuration Portfolio About Us Web.config <==== Main web.config
in the above example, the helper configuration (web.config) contains the url mapping configuration inside Products, where, since Main we.config has a configuration across the whole structure.
There are more complex seniarios where the same url directories are used in the root and in the subsection, this can be easily resolved using the second web.config
source share