title: Render an MVC3 action to a string from a WCF REST service method
body: <p>I have a WCF REST service that takes some parameters and sends an email. The template for the email is an MVC3 action. Essentially I want to render that action to a string. </p>
  
  <p>If it were an ASP.NET WebForm, I could simply use <code>Server.Execute(path, stringWriter, false)</code>.   However when I plug in the path to my action, I get <code>Error executing child request</code>.</p>
  
  <p>I have full access to HttpContext from my service (<code>AspNetCompatibilityRequirementsMode.Allowed</code>).</p>
  
  <p>I know there are other answers out there for rendering actions to strings from within the context of a controller. How do I do this when I'm outside that world, but still on the same server (and, for that matter, in the same app)?</p>