Possible Duplicate:
How to prevent an ASP.NET application restarting when the web.config is modified?
Was just thinking about uptime. Thanks.
Changes to key application files (web. config, BIN, App_Code, etc) are detected automatically and cause application restart.
the answer i found :- ASP.NET invalidates the existing cache and assembles a new cache. Then ASP.NET automatically restarts the application to apply the changes.
You can have multiple configuration files in your asp.net project. There is no restriction to use the web. config file in the asp.net web application.
Yes we can run Asp.net application without Web. config file.In case you will not define any configuration in web. config file , it will take machine.
Yes, you can; see this answer.
However, it is not a good idea.
Until ASP.Net restarts the AppDomain, it will not look at web.config
.
If you change web.config
, your changes will have no effect until the AppDomain is restarted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With