To see IsolatedRazor in action you can check the IsolatedRazor.Demo.* projects.
Short usage example:
using (var templater = new IsolatedRazor.RazorTemplater(templatePath))
{
string result = await templater.ParseAsync("MyTemplate",
"<div>Hello @Model.Name! It is @DateTime.Now</div>", timestamp, model).ConfigureAwait(false);
}
Constructing the IsolatedRazor.RazorTemplater instance is rather slow, so if you can you should reuse it.