Access compilation element in web.config

Posted by ggonsalv on Stack Overflow See other posts from Stack Overflow or by ggonsalv
Published on 2010-05-18T13:37:03Z Indexed on 2010/05/18 13:40 UTC
Read the original article Hit count: 253

Filed under:
|
|

I want to be able to determine if the web.config element

  <compilation defaultLanguage="vb" debug="false" />

if the property is debug is set to true or false.

Public Shared Function isDebug() as Boolean
  ......
  ......
  ......
  ......
End sub

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-1.1