asp.net - When is the web.config file "executed"? -
is executed / read-by-the-server every time page on site loaded?
the web.config loaded memory when application created. typically first request page/resource in application. iis (asp.net) monitors web.config changes , restart application if change made.
if question "will web.config settings automatically update when file changed?" answer yes application restarted can result in unexpected behavior including session , data loss.
some of above statements not true , recommend reading this: http://msdn.microsoft.com/en-us/library/ms178685.aspx
Comments
Post a Comment