K
ktrvnbq02
Hi,
We have an ASP.NET application built in Release mode via Visual Studio.
All of the C# code is in the code-behind files (i.e. *.aspx.cs files)
and there is no C# in the *.aspx files themselves.
In this scenario, will the following setting have any detrimental
effect if left set to true when running a Release build described
above?
<system.web>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging.
Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb
information)
into the compiled page. Because this creates a larger file that
executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to the
documentation about
debugging ASP .NET files.
-->
<compilation
defaultLanguage="c#"
debug="false"
/>
</system.web>
My understanding is that the setting should *only* have an effect if
code is being dynamically compiled (which we are not doing), however
the MSDN is slightly ambiguous and I wanted to check if there were any
other side effects (performance or otherwise) if this setting has been
left enabled on a live site.
Thanks for your time,
Matt
We have an ASP.NET application built in Release mode via Visual Studio.
All of the C# code is in the code-behind files (i.e. *.aspx.cs files)
and there is no C# in the *.aspx files themselves.
In this scenario, will the following setting have any detrimental
effect if left set to true when running a Release build described
above?
<system.web>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging.
Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb
information)
into the compiled page. Because this creates a larger file that
executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to the
documentation about
debugging ASP .NET files.
-->
<compilation
defaultLanguage="c#"
debug="false"
/>
</system.web>
My understanding is that the setting should *only* have an effect if
code is being dynamically compiled (which we are not doing), however
the MSDN is slightly ambiguous and I wanted to check if there were any
other side effects (performance or otherwise) if this setting has been
left enabled on a live site.
Thanks for your time,
Matt