How do you get a ViewResult as a string? For example, when a user makes a webrequest, i can return a page like this:
return View("/helloworld");
But i want to get it as a string and do something with it, for example:
string webpage = View("/helloworld").ToString(); //Get the ViewResult as a string.
// {...} do something with the webpage string.
return Content(webpage); //Now return it as you normally would
Is it possible?