Nope, the web configuration file cannot pull “settings” from itself; it’s not dynamic at all. The only sort of dynamic functionality is the ability to include other .config, but that’s just a “suck all these settings in as if they were part of me” kind of thing.
More Related Contents:
- How do you modify the web.config appSettings at runtime?
- Meaning
- Access-control-allow-origin with multiple domains
- Avoid web.config inheritance in child web application using inheritInChildApplications
- How to increase request timeout in IIS?
- Which gets priority, maxRequestLength or maxAllowedContentLength?
- Setting up connection string in ASP.NET to SQL SERVER
- Use Visual Studio web.config transform for debugging [duplicate]
- How to set the Default Page in ASP.NET?
- ASP.NET web.config: configSource vs. file attributes
- How to prevent an ASP.NET application restarting when the web.config is modified?
- Error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level
- Adding machineKey to web.config on web-farm sites
- Difference between and ?
- IIS URL Rewrite and Web.config
- ASP.NET: HTTP Error 500.19 – Internal Server Error 0x8007000d
- Web Application Problems (web.config errors) HTTP 500.19 with IIS7.5 and ASP.NET v2
- Setting up redirect in web.config file
- Escape quote in web.config connection string
- How to configure invariant culture in ASP.NET globalization?
- Nested ASP.NET ‘application’ within IIS inheriting parent config values?
- How to encrypt one entry in web.config
- Web Config Transform not working
- Is it possible to configure a location in Web.config to only allow local connections
- Allow anonymous authentication for a single folder in web.config?
- Programmatically register HttpModules at runtime
- The configuration section ‘system.web.extensions’ cannot be read because it is missing a section declaration
- Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive
- Specify more than one directory in Web.Config’s Location Path element
- URL Routing, Image Handler & “A potentially dangerous Request.Path value”