oscilatingcretin oscilatingcretin - 2 months ago 5
ASP.NET (C#) Question

ASP.NET web.config: What is the default for the debug attribute in system.web.compilation?

If I don't include the

debug
attribute in the
compilation
element like this:

<system.web>
<compilation />
</system.web>


Does it default to
true
or
false
? Links to sources would be appreciated.

Answer

The default for debug attribute in the compilation is false

MSDN - compilation Element (ASP.NET Settings Schema)

debug

Optional Boolean attribute. Specifies whether to compile debug binaries rather than retail binaries. The default is False.

Comments