views:

170

answers:

3

If I've built my application in release mode, and precompiled the aspxs, what does

<compilation debug="true" />

do in the Web.config?

Do I still need to set this to false for production code?

Under what circumstances does this have any affect?

Thanks

+3  A: 

See this blog post from ScottGu which covers the intricacies of the debug switch and includes some discussion of precompiled sites.

PhilPursglove
+1  A: 
JoeBilly
what if ive precompiled the pages though, this was my question
Andrew Bullock
A: 

You might have to, you might not.

If the server has in its machine.config then it forces all websites to run with debug = false.

Otherwise yes you need to disable it when you are launched. It will use less memory when you do.

rtpHarry