Alex Rivera | Logout

Is web.config or app.config cached in memory

Asked 2010-08-25T14:39:45.157
13

if it is cached, what happens if I use multiple web.config in multi-level folders

Edit
Report

1 Answer

4

Web.config (excluding external config files) is read when the application loads. Some config settings have a cascading behavior. For example, the system.web/authorization section can be overridden by configs at deeper levels.

ASP.NET monitors the web.config for changes. When it changes, the web application is forced to restart. Moral is that web.config settings are cached for the life of the application.

answered 2010-08-25T14:43:17.963

Your Answer