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.
PechkinSync.Convert(new GlobalConfig()
.SetMargins(new Margins(0, 0, 0, 0))
.SetCopyCollation(true)
.SetPaperSize(PaperKind.A4)
.SetOutputFormat(GlobalConfig.OutputFormat.Pdf), htmlcontent);