private ActionResult GetView(string itemUri, string templateUri, string path) { using (new PreviewServer()) { DebugEngine engine = new DebugEngine(); string output = engine.Execute(itemUri, templateUri); //now Engine and Template instances are created return(View(path)); } }