b) the path of the view.
If you know the path of the view, you could read its contents:
string viewPath = "...";
string template = File.ReadAllText(viewPath);
and then as the documentation states you could use the Razor Engine to pass a model and the contents of the view to get the markup:
string result = Razor.Parse(template, new { Name = "World" });