RazorEngine icon indicating copy to clipboard operation
RazorEngine copied to clipboard

Save compiled templates to disk

Open adoconnection opened this issue 8 years ago • 2 comments

Hi, I want to precompile template before publishing to production (or save cache between app restarts) So in my understanding I have to implement ICachingProvider

Is there the right way for producing DLL file from template.TemplateAssembly when handling void CacheTemplate(ICompiledTemplate template, ITemplateKey key)

adoconnection avatar Sep 08 '17 12:09 adoconnection

@adoconnection Hi Alexander, It has been a long time, but wanted to ask if you have managed to solve this issue ?

Best regards, Dawid

aburok avatar Aug 31 '21 08:08 aburok

Hi, I had to create new package https://github.com/adoconnection/RazorEngineCore

adoconnection avatar Aug 31 '21 09:08 adoconnection