How to generate PDF and HTML in 2023?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • scryber.core

    Scryber.Core is a dotnet html to pdf engine written entirely in C# for creating beautiful flexible, flowing documents from html templates including css styles, data binding, svg drawing and encryption

  • RazorEngine

    Open source templating engine based on Microsoft's Razor parsing engine

    For HTML, you can use Razor from ASP.NET, either by making a web application you call with the data to get backthe page (microservice approach) or by shoving the Razor engine into your current application and rendering to strings.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • DinkToPdf

    C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

    I used this package for a while to generate the PDF from HTML - https://github.com/rdvojmoc/DinkToPdf

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts