Enable Tracing
in Web API
1. Install the Microsoft
ASP.NET Web API 2.1 Tracing
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();
}
|
5. Reference
Tracing in ASP.NET Web API
Tracing in ASP.NET Web API
沒有留言:
張貼留言