ASP.NET - PDF component in trust

Can someone recommend some ASP.NET-compatible PDF components that work in a medium trust environment? I read that ITextSharp works well, but from ABCPdf and ASPPdf , the idea of ​​compiling all the PDF code is very complicated. Ideally, I would like to use something like wkhtmltopdf to just convert HTML pages to PDF files (but of course this does not work in a trust environment).

As for the price: free is better, but paid solutions are out of the question.

In case I cannot find a worthy option, I can simply choose to host the web service on a separate computer on which I can run a fully trusted application, but this is definitely not optimal.

+3
source share
3 answers

iTextSharp is perhaps the best free option that works in a trust environment. It may seem intimidating to start using it, however, once you get it, it is very powerful. There is a tutorial for simple and more complex document layouts.

iTextSharp - http://sourceforge.net/projects/itextsharp/

iTextSharp Tutorial - http://itextsharp.sourceforge.net/tutorial/index.html

iTextSharp - http://instantdevelopment.blogspot.com/2009/10/itextsharp-pdf-rendering-in-medium.html

. ReportViewer PDFSharp API, . iTextSharp , , - .

+2

You can try winnovative library:

http://www.winnovative-software.com/

Or the CETE library

http://www.cete.com/Products/DynamicPDFForNET/Generator/index.csp

I used both for various functions in ASP.NET web applications

0
source

Source: https://habr.com/ru/post/1722064/


All Articles