Trace可以讓網頁在執行時秀出許多詳細的資訊

網頁Page就設定指示詞

<%@ Page Trace="True" %>

 

整個網站設定的話就要用Web.Config設定

(Page的設定如果和Web.Config同時存在的話,以Page的設定為優先)

<configuration>

<system.web>

<trace enabled="true" pageOutput="true" localOnly="true"

mostRecent="true" writeToDiagnosticsTrace="true">

</system.web>

</configuration>

arrow
arrow
    全站熱搜

    welkingunther 發表在 痞客邦 留言(0) 人氣()