Rotativa ActionAsPdf() Very Slow

后端 未结 2 1250
粉色の甜心
粉色の甜心 2021-01-13 21:42

Using Rotativa 1.6.4 from NuGet and have noticed the following issue using the code below.

ActionAsPdf hangs randomly for indeterminate amount of time.

Cod

2条回答
  •  無奈伤痛
    2021-01-13 22:22

    I ended up using UrlAsPdf() instead of ActionAsPdf() and it works. Seems there may be some issues with the ActionAsPdf() and I have filed a bug with Rotative project on GitHub. The ActionAsPdf() is still marked as beta, so hopefully it get's fixed in future versions or by the community.

提交回复
热议问题