In incorporating a few aspx pages (created by someone else) into an existing website that is mostly written in classic asp, I have to have a local web.config file in the /sub/sub/sub/ folder where the aspx and aspx.vb files are ultimately located.
I note there is a lot of duplication between the main root web.config and the web.config in the subfolder.
This has caused a few problems. For example I have already had to comment out the line <authentication mode="Windows"/> from the subfolder web.config to get rid of an error.
So I was wondering...
In the interests of being neat and tidy, would it be wise to go through the web.config file that is in the /sub/sub/sub/ folder and remove any lines/sections that are just duplicates of lines/sections in the web.config file in the root folder?
Seems logical to me, but as I'm very new to .NET I don't want to risk creating future problems for myself.
I note there is a lot of duplication between the main root web.config and the web.config in the subfolder.
This has caused a few problems. For example I have already had to comment out the line <authentication mode="Windows"/> from the subfolder web.config to get rid of an error.
So I was wondering...
In the interests of being neat and tidy, would it be wise to go through the web.config file that is in the /sub/sub/sub/ folder and remove any lines/sections that are just duplicates of lines/sections in the web.config file in the root folder?
Seems logical to me, but as I'm very new to .NET I don't want to risk creating future problems for myself.