How to make all the application in a machine to run in release mode
Hi,
Lets say you are running multiple application in a single machine, and want to make sure that all the application run in the release mode (debug is false, page output of trace is false etc..). These settings can easily be changed in the web.config. and you do not want any application to run with these setting even by mistake.
Well Asp.Net has a way for that also. You can set the attribute retail to true in the deployment tag inside the System.Web tag in Machine.config.
<System.Web>
<deployment retail=true />
</System.Web>
By default the value of this configuration is false. The attribute can only be set in the machine.config only. [Note the tag is not supported in the web.config] . The attribute defines if the application will be deployed in the retail mode only or not.
When the value is set to true then Asp.Net disables some of the configuration settings like trace output to page, custom errors and capabilities.
Vikram