Does anybody know what's the difference between Html.RenderAction and Html.Action?
Html.Action() – Outputs string
Html.Action()
Html.RenderAction() – Renders directly to response stream
Html.RenderAction()
If the action returns a large amount of HTML, then rendering directly to the response stream provides better performance than outputting a string.
548k questions
547k answers
4 comments
86.3k users