When you call RazorEngine.Razor.Compile()
, where is the compiled template stored?
Is it available after the programs been restarted? If there is a memory sh
Currently, after the RazorEngine compiles the templates, they are loaded into memory. These assemblies persist in memory only and do not continue beyond the lifetime of the application.
I am considering adding in support for compiling these assemblies to files, but that'll be a future version.
If you call Razor.Parse
and pass in a name for the template, it will attempt to