Example --
var myView = "<p>The date is @DateTime.Now.ToLongDateString()</p>";
return View(myView);
Essentially, I want to override the MVC view resolution functionality which looks for the view on the file system. Instead of reading the Razor codein from a file, I want to provide it as a string.
(Why? So I can compile Views in a separate DLL and drop them into projects. Let me know if I'm going about this the completely wrong way.)