2

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?

1
  • Are you open to how you will layout the content? Or do you have a preference? Such as HTML or Markdown for your layout? Is this a new feature? If not, what issues do you have with your existing solution?
    – Ryan
    Commented Jun 5, 2019 at 5:17

5 Answers 5

2

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

1

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:

0

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.

0

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.

0

I would recommend itext7, which provides various features to do with PDF. It also have document and examples for common uses.

1
  • 1
    Welcome! Does this recommendation meet the performance requirements? Commented Sep 9, 2019 at 5:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.