6 Ways to Generate HTML Documents With C#.Net are some options how to generate HTML documents. RazorEngine requires lots of dependencies and obsolete libraries. Handlebars.Net is a really easy and fast way to do documents generation because it doesn't use any scripting engine to run a Javascript library; it compiles Handlebars templates directly to IL bytecode. The simplest and fastest way for simple files generation would be to go with simple templating which will not bring new dependencies into the project.
Vitalii Honcharuk
@vitaliihoncharuk
Full-stack engineer (C#, Angular, SQL) with 7+ years of experience.