public ServiceConfiguration() { this.OperationHandlerFactory.Formatters.Insert(0, new JsonNetMediaTypeFormatter()); this.AddMessageHandlers(typeof(TracingChannel)); this.SetErrorHandler<ErrorHandler>(); } }