Skip to content

HttpResponseExtensions class

Class HttpResponseExtensions.

public static class Microsoft.AspNetCore.Http.HttpResponseExtensions

Package: Korzh.EasyQuery.AspNetCore (targets: net5.0, netcoreapp3.1, netstandard2.0)

Assembly: Korzh.EasyQuery.AspNetCore.dll

NameTypeDescription
WriteJsonAsync(this HttpResponse response, object data)TaskSerializes and object to JSON and writes it to the HTTP response.
WriteObjectAsync(this JsonWriter jsonWriter, object data)TaskSerializes and object to JSON and writes it to the JsonWriter.
WriteResultSetAsync(this JsonWriter jsonWriter, IEqResultSet resultSet)TaskSerializes result set to JSON and writes it to the JsonWriter.