Hi, I switched to the new version, but I got an error
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Write(form.Build());
HttpContext.Current.Response.Flush();
HttpContext.Current.Response.End();
The above code gives an error
in this way I found a solution in this way
_httpContext.HttpContext.Response.Clear();
_httpContext.HttpContext.Response.WriteAsync(form.Build());
_httpContext.HttpContext.Response.Body.Flush();
_httpContext.HttpContext.Response.Body.Close();