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
Post a Comment