Dotnet core support
var s = "some html / html form";
HttpContext.Response.WriteAsync(s.ToString());
Find refrence :
https://gist.github.com/priore/7163408
Is there an equivalent to “HttpContext.Response.Write” in Asp.Net Core 2?
solved How to submit http form using C# in DOTNET CORE [closed]