Thursday, April 28, 2011

Code-Level Tracing in VB.NET

How do I define the Trace Constant for a Web Site in VB.NET to enable trace output? I know where it is for web applications, but I cannot find it for web sites.

From stackoverflow
  • Web Site is web application. You can enable it in web.config:

    <system.web>
     <trace enabled="true" pageOutput="true"/>
    </system.web>
    

0 comments:

Post a Comment