Antaris / RazorEngine

Open source templating engine based on Microsoft's Razor parsing engine
http://antaris.github.io/RazorEngine
Other
2.14k stars 577 forks source link

How to avoid generate temp dlls? #555

Open Blueve opened 5 years ago

Blueve commented 5 years ago

Hi,

We are facing a security issue of RazorEngine. Although we can isolate the generated assembly, we still need load those assemblies from file system. Our environment ask that all assembles must be signed before execute, and those temp dll calling are violate our security policy.

Is there a way to CompileAndRun with a .cshtml file without generate extra dll fill in file system?

Thanks

Monicafgz commented 2 years ago

Hi @Blueve, we're facing this kind of problem also, did you get a way to solve it? Thanks!