Multiple choice technology programming languages

What happens when you change the web.config file at run time?

  1. Application runs without any change

  2. Application automatically close

  3. Application automatically restart

  4. Cannot change the web.config file at run time

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In ASP.NET, web.config is a monitored file. Any modification triggers an application domain restart and recompilation. This ensures configuration changes take effect but causes temporary unavailability. The application doesn't close permanently - it restarts automatically. Changes at runtime are possible but disruptive.