문제

Tracing I am seeingenter image description hereI have created a Web API project in VS 2013. Where the Tracing is enabled by default. How can I disable it?

I tried few things in webapi.config, but didn't work out.

Thanks in Advance :)

도움이 되었습니까?

해결책

Remove the line config.EnableSystemDiagnosticsTracing(); that is probably in your WebApiConfig file.

다른 팁

In general, we can enable and disable tracing in web.config file, under system.web section.

<System.web>
<trace enabled="false" /> 

Hope this will be helpful.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top