首頁部落格DEBUG 模式才顯示文字 DEBUG 模式才顯示文字 .NET ez 2011-11-29利用 #if DEBUG,並在區段中加入要顯示的文字,將 web.config 的 debug mode 設定為 true,就可以輸出資料,再將 debug mode 設定為 false,就可以隱藏資料! #if DEBUG Response.Write("要輸出的資訊"); #endif標籤: .NET本文章網址: https://www.ez2o.com/Blog/Post/csharp-debug-mode-write-msg https://www.ez2o.com/Blog/Post/9我要留言 我不是機器人! 留言 相關文章.Net 控制鍵盤.Net 抓取 IE 網址,自動轉址.Net 使用 ASP.NET State Service 讓 Session 不會自動消失Windows 10 IoT 燈泡閃爍 Blinky 範例 ( Raspberry Pi 2 ).NET 使用 Dotfuscator Software Services CE 免於受到反向工程的威脅