asp.net - Web.config file debug="true" setting -


i have run issue when web application's web.config compilation debug set true getting vulnerability error on security scan.

what want determine if there way have type of web.config conditional block change debug setting use correct value on debug builds , release builds. have read setting property in each web page , don't know if in fact true , there problems this?

i suggest <deployment retail=”true”/>.

you put this element machine.config on production server , overrides debug=”true” in web.config , pages. in other words, can happily use debug , trace functionality on developer machines can sure turned off on production server. scott guthrie recommends best practice.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -