在IIS中的Pechkin和in-used进程

时间:2022-01-15 00:12:58

I use Pechkin for generating pdf in my web application, but i have a problem, when application use it to generate PDF, append to IIS application a in use process and i can not restart application, i have to recycle application pool at first and then restart it. it's not good for me and i need some solution to dispose this process after use. use Pichkin in async mode, and call it in this way.

我使用Pechkin在我的web应用程序中生成pdf,但是我有一个问题,当应用程序使用它生成pdf时,在使用过程中附加到IIS应用程序a,我不能重新启动应用程序,我必须首先回收应用程序池,然后重新启动它。这对我不好,我需要一些解决方案来处理这个过程后使用。在异步模式中使用Pichkin,并以这种方式调用它。

PechkinSync.Convert(new GlobalConfig()
    .SetMargins(new Margins(0, 0, 0, 0))
    .SetCopyCollation(true)
    .SetPaperSize(PaperKind.A4)
    .SetOutputFormat(GlobalConfig.OutputFormat.Pdf), htmlcontent);

1 个解决方案

#1


2  

This is a bug in the Pechkin code. I'd recommend you switch to Tuespechkin. This is an active fork of Pechkin which includes many bugfixes. Unfortunately active development on Pechkin ceased over two years ago.

这是Pechkin代码中的一个错误。我建议你改用吐斯佩金。这是一个活跃的Pechkin分支,包含许多错误修正。不幸的是,Pechkin的积极发展在两年前就停止了。

#1


2  

This is a bug in the Pechkin code. I'd recommend you switch to Tuespechkin. This is an active fork of Pechkin which includes many bugfixes. Unfortunately active development on Pechkin ceased over two years ago.

这是Pechkin代码中的一个错误。我建议你改用吐斯佩金。这是一个活跃的Pechkin分支,包含许多错误修正。不幸的是,Pechkin的积极发展在两年前就停止了。