Could you recommend me a PDF library for .net core (C#)?
I need to generate a simple pdf with standalone text and some images.
Performance is the key value. Sometimes I'll generate around 150 k separate pdf files per hour. Any advice?
Could you recommend me a PDF library for .net core (C#)?
I need to generate a simple pdf with standalone text and some images.
Performance is the key value. Sometimes I'll generate around 150 k separate pdf files per hour. Any advice?
Syncfusion Essential PDF is a feature rich and high-performance .NET Core PDF library that allows you to add robust PDF functionalities to any ASP.NET Core applications. It allows you to create, read, and edit PDF documents programmatically. This library also offers functionality to merge, split, stamp, forms, and secure PDF files.
Syncfusion Essential PDF comes with extensive documentation, Knowledge Base, and samples.
Note: I work for Syncfusion
Docotic.Pdf library is a good option. It is fast, has no external dependencies, fully managed code, works in .NET and .NET Standard / .NET Core.
Disclaimer: I work for the company.
Here are examples for your tasks:
XFINIUM.PDF library supports .NET Core and it is fast. My opinion could be biased as I work for the company that develops the library.
xfinium.pdf.netcore package is available on nuget.org. Several samples are available on our website.
It's good that you noted your performance requirements. 150k documents per hour averages at 42 documents/second which may result in significant load on the host. Bear that in mind for whatever tool you are using and what else your server/host is doing.
Docmosis Tornado or Docmosis Cloud may be a good fit depending on your other requirements around connectivity, privacy etc. Please note I work for Docmosis. Either will let you scale to be able to achieve the performance required and the main bonus is that you can use document templates to design the output. This means the coding required is reduced to composing the data and making the http(s) calls.
I hope that helps.
I would recommend itext7, which provides various features to do with PDF. It also have document and examples for common uses.