Use RazorEngine IsolatedTemplateService with a recognizer?

I am using RazorEngine in a large web application to send emails. Due to memory issues (from constantly recompiling templates for messages with ad-hoc content), I want to use IsolatedTemplateService , which runs in a separate AppDomain. But I see no way to specify a template resolver as I can with TemplateService .

Am I missing something? I like my resolver.

+4
source share

Source: https://habr.com/ru/post/1495036/


All Articles