C# Template engine

Open-source C# projects categorized as Template engine

Top 18 C# Template engine Projects

  • scriban

    A fast, powerful, safe and lightweight scripting language and engine for .NET

  • Project mention: Generating C# code programmatically | dev.to | 2024-04-05

    Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi-line string or some template library like scriban. But I searched for a way to generate more and more complicated logic easily - like for example, adding raw SQL handler methods to my pre-generated DBSet-like classes for my ADO.NET experiment. You could now say: Use Roslyn and that's really fine if you look everything up in a website like SharpLab, which shows immediately the syntax tree of our C# code.

  • RazorEngine

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

  • Project mention: C# Library for Go template | /r/csharp | 2023-05-24

    There's a load of packages to do it for example https://github.com/Antaris/RazorEngine

  • 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.

    InfluxDB logo
  • RazorLight

    Template engine based on Microsoft's Razor parsing engine for .NET Core

  • Project mention: Introducing TopazView: A Lightweight and Powerful View Engine | /r/csharp | 2023-06-09

    Yes, I have used Razor pages in non-website applications before where I needed to load the cshtml templates from a different source. I have written Line of Business apps (think WinForms or WPF) where the reporting spits out HTML with tables and charts. There are a number of similar projects to yours out there which I have used in the past such as RazorLight or RazorMachine.

  • fluid

    Fluid is an open-source .NET template engine based on the Liquid template language.

  • Project mention: A Handlebar and Puppeteer Equivalent in C#? | /r/dotnet | 2023-05-27
  • Handlebars.Net

    A real .NET Handlebars engine

  • Project mention: A Handlebar and Puppeteer Equivalent in C#? | /r/dotnet | 2023-05-27
  • craftsman

    A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀

  • Project mention: Verticle Slice Architecture | /r/dotnet | 2023-06-18
  • DotLiquid

    .NET Port of Tobias Lütke's Liquid template language.

  • Project mention: Install DotLiquid library tester in my pipeline | /r/azuredevops | 2023-07-16
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • SmartFormat.NET

    A lightweight text templating library written in C# which can be a drop-in replacement for string.Format

  • Nustache

    Logic-less templates for .NET

  • RazorEngineCore

    .NET6 Razor Template Engine

  • Stubble

    Trimmed down {{mustache}} templates in .NET (by StubbleOrg)

  • Mustache Sharp

    An extension of the mustache text template engine for .NET.

  • CodegenCS

    C# Toolkit for Code Generation (T4 alternative!)

  • cottle

    Fast, light & extensible template engine for C#

  • Project mention: Compact Object to Text Transform Language (Cottle) | /r/VisualStudioCode | 2023-06-26
  • jntemplate

    jntemplate is an fast and lightweight html templating engine for C# .NET.

  • MaltReport

    A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET

  • Textrude

    Code generation from YAML/JSON/CSV models via SCRIBAN templates

  • morestachio

    Lightweight, powerful, flavorful, template engine.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# Template engine related posts

  • Generating C# code programmatically

    4 projects | dev.to | 5 Apr 2024
  • Scriban lightweight scripting language for .NET

    1 project | news.ycombinator.com | 21 Sep 2023
  • Install DotLiquid library tester in my pipeline

    1 project | /r/azuredevops | 16 Jul 2023
  • Verticle Slice Architecture

    1 project | /r/dotnet | 18 Jun 2023
  • Introducing TopazView: A Lightweight and Powerful View Engine

    5 projects | /r/csharp | 9 Jun 2023
  • A Handlebar and Puppeteer Equivalent in C#?

    5 projects | /r/dotnet | 27 May 2023
  • C# Library for Go template

    2 projects | /r/csharp | 24 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 4 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Template engine projects in C#? This list will help you:

Project Stars
1 scriban 2,927
2 RazorEngine 2,114
3 RazorLight 1,480
4 fluid 1,304
5 Handlebars.Net 1,162
6 craftsman 1,096
7 DotLiquid 1,038
8 SmartFormat.NET 1,035
9 Nustache 587
10 RazorEngineCore 539
11 Stubble 389
12 Mustache Sharp 305
13 CodegenCS 202
14 cottle 162
15 jntemplate 141
16 MaltReport 124
17 Textrude 117
18 morestachio 49

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com