Monday, May 12, 2014

Enable Tracing in Web API


Enable Tracing in Web API

2.  Install or update the Microsoft ASP.NET Web API 2.1 Web Host

3.  Enable the tracing function in Web API’s  WebApiConfig

public static void Register(HttpConfiguration config)
{
//Enable tracing
config.EnableSystemDiagnosticsTracing();
}


4.  Result :



No comments:

Post a Comment