6 references to WriteAsJsonAsync
Microsoft.AspNetCore.Http.Extensions (2)
RequestDelegateFactory.cs (1)
2608
=> HttpResponseJsonExtensions.
WriteAsJsonAsync
(response, value, jsonTypeInfo, default);
src\Shared\RouteHandlers\ExecuteHandlerHelper.cs (1)
47
return HttpResponseJsonExtensions.
WriteAsJsonAsync
(response, value!, jsonTypeInfo, default);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HttpResponseJsonExtensionsTests.cs (1)
457
await context.Response.
WriteAsJsonAsync
(new int[] { 1, 2, 3 }, (JsonTypeInfo<int[]>)options.GetTypeInfo(typeof(int[])));
Microsoft.AspNetCore.Http.Results (2)
HttpResultsHelper.cs (1)
44
return httpContext.Response.
WriteAsJsonAsync
(
JsonHttpResultOfT.cs (1)
115
return httpContext.Response.
WriteAsJsonAsync
(
Microsoft.AspNetCore.Routing (1)
src\Shared\RouteHandlers\ExecuteHandlerHelper.cs (1)
47
return HttpResponseJsonExtensions.
WriteAsJsonAsync
(response, value!, jsonTypeInfo, default);