public AppDomain ProvideTemplatingAppDomain(string content)
{
// return the current domain as we expect to be a short lived application
// please read the notes (https://msdn.microsoft.com/en-us/library/bb126579.aspx)
// if you use this code snippet on a long lived application.
return AppDomain.CurrentDomain;
}