Getting the HTML for a ViewResult in ASP.NET Core

added by DotNetKicks
11/6/2017 1:50:22 PM

1 Kicks, 133 Views

This is another post tagged "hack": this time, how to get the HTML for a rendered view, in code. This is a standard solution that does not use any kind of reflection (or other) magic.