I have a ASP.NET MVC4 controller function that returns dynamic html using a StringBuilder as a Json result.
This is an quality issue, because I don't want dynamic HTML being returned as a string property in a JSON result.
My goal is to make use of ASP.NET MVC to use .cshtml for example with a viewmodel so that I make an instance of the viewmodel, passing in the results and in the end, return the raw HTML of the view as a JSON result.
How can this be achieved ?