0

I have read somewhere that changing aspx file or web.config restart application pool and result in session loss. Some e-commerce store are using XML files instead of putting data in web.config.

Please let me know if aspx or web.config really restart application pool or any component of IIS which can cause disturbance for users. Also, if there is any way to work around it(Would AppDomain work)?

Thanks

user3379745
  • 77
  • 1
  • 8
  • Yes, it will restart the application. Why do you need a workaround? If you have configuration that the changing of should not cause a restart, just don't store it in web.config. Please clarify what you are actually trying to achieve... – RB. Feb 21 '17 at 10:34

1 Answers1

0

Modifications on root web.config and bin folder will restart your pool.

Aspx files (*.aspx) modifications do not restart your pool.

However, this is editable, see this post Can you modify the web.config and NOT restart the ASP.NET application?

Community
  • 1
  • 1
GôTô
  • 7,974
  • 3
  • 32
  • 43