I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
Answer / Dheeraj Kumar Singh
"To prevent your web.config settings from being overridden, move your configuration file to a higher location in the application directory structure or explicitly set the inheritInChildApplications attribute to 'false' within your web.config file. This will ensure that child applications (folders) do not inherit any settings from your root web.config."
| Is This Answer Correct ? | 0 Yes | 0 No |
What's the advantage of using System.Text.StringBuilder over System.String?
3 Answers IBM, IdeaLake, Infosys,
How will you load dynamic assembly?
Is string a value type or a reference type?
What namespaces are imported by default in ASMX files?
Name the two properties are on every validation control?
How to change Master page in ASP.Net using code?
What is the difference between “Web.config” and “Machine.Config”?
How to Insert/Add in ASPXgridview
What is a user developed application?
What is the difference between CLICK and MOUSE DOWN Event ?
Explain about asp.net state management?
How do we sort the data from a dataset?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)