About ASP. NET Applications ProgramCompilation/@ debug settings in Web. config
<Compilation defaultlanguage = "C #" DEBUG = "false"/>
The difference between the project build ---> debug/release settings in vs. Net IDE is as follows:
Generally, for a. Net assembly, We need to specify the debug or release version during compilation. In this way, the generated Assembly contains or does not contain the debugging symbol and debugging database information. For ASP. net, the Project Build ---> debug/release settings are the same, it determines the version information of the main assembly of the last generated project (which should be placed in the bin directory of the application ).
However, in Asp.net, the final execution page/ascx control is dynamic compilation (generate dynamic temporary
So we need to develop the corresponding version information for these dynamically compiled components. This is what we need to provide in Web. config.
<Compilation defaultlanguage = "C #" DEBUG = "false"/>
. At the same time, this setting controls whether the Asp.net application can be directly debugged by F5, and whether the dynamically compiled assembly is compiled into an assembly on each page or multiple pages are compiled in one assembly.
The main difference is that