You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// minimal api doe not support this nativelytypeHtmlResult(html)=interface IResult withmemberthis.ExecuteAsync(httpContext)=
httpContext.Response.ContentType <- MediaTypeNames.Text.Html
httpContext.Response.ContentLength <- Encoding.UTF8.GetByteCount(s = html)
httpContext.Response.WriteAsync(html)static memberCreate(html)=new HtmlResult(html)
this could be an html return type, when returned in middleware seems not working?
this could be an html return type, when returned in middleware seems not working?
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/responses?view=aspnetcore-8.0
The text was updated successfully, but these errors were encountered: