azure-application-insights
View POST request body in Application Insights
You can simply implement your own Telemetry Initializer: For example, below an implementation that extracts the payload and adds it as a custom dimension of the request telemetry: public class RequestBodyInitializer : ITelemetryInitializer { public void Initialize(ITelemetry telemetry) { var requestTelemetry = telemetry as RequestTelemetry; if (requestTelemetry != null && (requestTelemetry.HttpMethod == HttpMethod.Post.ToString() || requestTelemetry.HttpMethod … Read more
Disable application insights in debug
You can try to use TelemetryConfiguration.DisableTelemetry Property Something like this way.. #if DEBUG TelemetryConfiguration.Active.DisableTelemetry = true; #endif