Web Connection
Updating web.config on live server
Gravatar is a globally recognized avatar based on your email address. Updating web.config on live server
  Carl Chambers
  All
  Jan 5, 2022 @ 12:35pm

Hi Rick,

When manually updating the web.config file on a live server, do you recommend unloading all server instances before uploading the web.config file to the server or does it matter?

I have read that IIS will detect that web.config has changed and automatically restart the application but is there a problem with allowing that to happen?

What do you recommend?

Thanks,
Carl

Gravatar is a globally recognized avatar based on your email address. re: Updating web.config on live server
  Rick Strahl
  Carl Chambers
  Jan 7, 2022 @ 02:21pm

No you don't have to unload anything. Any .NET based changes (in classic ASP.NET which is what Web Connection runs) automatically restarts the Application Pool. Anytime you touch web.config the application (not the Web Server) reloads.

This affects web.config and the webconnectionmodule.dll.

Gravatar is a globally recognized avatar based on your email address. re: Updating web.config on live server
  Carl Chambers
  Rick Strahl
  Jan 7, 2022 @ 05:09pm

Thanks, Rick.
Oops - I'll have to thank you again (message body too short).

© 1996-2024