Our great sponsors
-
QuestPDF
QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
-
WkHtmlToPdf-DotNet
C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gotenberg
A developer-friendly API for converting numerous document formats into PDF files, and more!
Like many have suggested, I also cast my vote on QuestPDF. No more +50MB library including a Chrome browser to render HTML so a PDF of it can be created, which took 2-3 seconds each time. But with QuestPDF, it's so much faster!
I've been using a c# wrapper for WkHtmlToPdf: https://github.com/HakanL/WkHtmlToPdf-DotNet It has worked very well so far. A lot of these html->pdf libraries rely on System.Drawing since they're quite old, so finding one that worked on linux, even if it does p/invoke was great for a old net472 project->net6.0 port that I'm doing.
https://gotenberg.dev/ https://github.com/ChangemakerStudios/GotenbergSharpApiClient
https://gotenberg.dev/ https://github.com/ChangemakerStudios/GotenbergSharpApiClient