title: Using Razor engine on strings - not views
body: <p>I'd like to use the Razor engine without view (cshtml) files, but on strings. 
  I want to do it from within MVC, I've seen examples that use </p>
  
  <pre><code>new RazorViewEngine().Render
  </code></pre>
  
  <p>but I can't find the Render method, is it something from the older days of MVC?</p>
  
  <p>I've also seen examples that use Razor.Parse, but I can't find it either - probably missing a reference (but it should be there if I'm using MVC already, right?)</p>
  
  <p>Is it advisable at all to use Razor if all I need to do is inject 3-4 parameters into an HTML string? I think I'm a bit infatuated with MVC right now and might not be thinking straight. I'm planning to cache the HTML strings in memory and just pass-in models from DB.</p>
  
  <p>Thank you</p>