7 references to PostAsJsonAsync
Aspire.Dashboard (6)
Telemetry\DashboardTelemetryService.cs (6)
137
await client.
PostAsJsonAsync
(TelemetryEndpoints.TelemetryEndOperation, new EndOperationRequest(Id: (string)propertyGetter(operationId), Result: result, ErrorMessage: errorMessage)).ConfigureAwait(false);
183
await client.
PostAsJsonAsync
(TelemetryEndpoints.TelemetryEndUserTask, new EndOperationRequest(Id: (string)propertyGetter(operationId), Result: result, ErrorMessage: errorMessage)).ConfigureAwait(false);
315
await client.
PostAsJsonAsync
(TelemetryEndpoints.TelemetryPostProperty, request).ConfigureAwait(false);
333
await client.
PostAsJsonAsync
(TelemetryEndpoints.TelemetryPostRecurringProperty, request).ConfigureAwait(false);
351
await client.
PostAsJsonAsync
(TelemetryEndpoints.TelemetryPostCommandLineFlags, request).ConfigureAwait(false);
357
var httpResponseMessage = await client.
PostAsJsonAsync
(endpoint, request).ConfigureAwait(false);
System.Net.Http.Json (1)
System\Net\Http\Json\HttpClientJsonExtensions.Post.cs (1)
37
=> client.
PostAsJsonAsync
(requestUri, value, options: null, cancellationToken);