关于RazorEngine研究过程中的记录
github问题Issues
https://github.com/Antaris/RazorEngine/issues
记录1
https://blog.csdn.net/xue251248603/article/details/77085486
看到有文章说Razor.Parse每次都会将动态编译的东西保存在内存中,参考:https://stackoverflow.com/questions/12301515/razorengine-memory-usage
所以,有下面解决办法:
- 加上cache
- 不用用3.0
- 用Precompiling Templates方法,参考:https://razorengine.codeplex.com/wikipage?title=Quick Start Guide&referringTitle=Documentation
RazorEngine问题与@Html | 码农家园 (codenong.com)
版权声明:本文为YES开发框架网发布内容,转载请附上原文出处连接
post 管理员