I am using the new WebTools 2012.2, and the help files says to add config.EnableSystemDiagnosticsTracing to your Global.asax.
However, this method doesnt exist on HttpConfiguration.
The EnableSystemDiagnosticsTracing
extension is part of the Tracing package. Do you have the Microsoft.AspNet.WebApi.Tracing
package installed?
Also make sure to have the using System.Web.Http;
namespace.
Documentation: link
To install use:
Install-Package Microsoft.AspNet.WebApi.Tracing Update-Package Microsoft.AspNet.WebApi.WebHost
After that check the following in your project:
And
//tracing config.EnableSystemDiagnosticsTracing();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With