<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: German “German”</title>
    <description>The latest articles on DEV Community by German “German” (@german_german_d6cdfb5d5).</description>
    <link>https://dev.to/german_german_d6cdfb5d5</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3719326%2Fa905694b-707c-4264-99b6-a9a88c096756.jpg</url>
      <title>DEV Community: German “German”</title>
      <link>https://dev.to/german_german_d6cdfb5d5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/german_german_d6cdfb5d5"/>
    <language>en</language>
    <item>
      <title>I built a free HTML to PDF library for .NET because existing options frustrated me</title>
      <dc:creator>German “German”</dc:creator>
      <pubDate>Mon, 19 Jan 2026 10:06:03 +0000</pubDate>
      <link>https://dev.to/german_german_d6cdfb5d5/i-built-a-free-html-to-pdf-library-for-net-because-existing-options-frustrated-me-591a</link>
      <guid>https://dev.to/german_german_d6cdfb5d5/i-built-a-free-html-to-pdf-library-for-net-because-existing-options-frustrated-me-591a</guid>
      <description>&lt;p&gt;Hey everyone,&lt;/p&gt;

&lt;p&gt;I'm a .NET developer and I needed a simple way to convert HTML to PDF. Looked at existing options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paid libraries - expensive licenses for a basic feature&lt;/li&gt;
&lt;li&gt;PuppeteerSharp directly - works, but lots of boilerplate (browser lifecycle, resource cleanup, pooling)&lt;/li&gt;
&lt;li&gt;wkhtmltopdf - outdated rendering engine, CSS issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I built Flavor - a free, open source wrapper that handles the boring parts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var pdf = await new FlavorConverter().ConvertHtmlAsync("&amp;lt;h1&amp;gt;Hello&amp;lt;/h1&amp;gt;");
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What it does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML/URL to PDF (uses real Chrome via PuppeteerSharp)&lt;/li&gt;
&lt;li&gt;Full CSS3 support (flexbox, grid, media queries)&lt;/li&gt;
&lt;li&gt;Browser pool for concurrent requests&lt;/li&gt;
&lt;li&gt;PDF operations (merge, split, watermark, encrypt)&lt;/li&gt;
&lt;li&gt;ASP.NET Core integration with this.Pdf() extension&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What it doesn't do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No magic - still needs Chromium&lt;/li&gt;
&lt;li&gt;Not for pixel-perfect reports from scratch&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/GermanPodlessky/Flavor" rel="noopener noreferrer"&gt;Flavor&lt;/a&gt;&lt;br&gt;
NuGet: &lt;code&gt;dotnet add package Flavor&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Looking for feedback. What's missing? What would make you actually use this?&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>opensource</category>
      <category>pdf</category>
    </item>
  </channel>
</rss>
