SaaSHub helps you find the best software and product alternatives Learn more →
Top 18 C# Template engine Projects
-
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.
-
craftsman
A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
SmartFormat.NET
A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
-
MaltReport
A WYSIWYG document template engine to generates .odt/.ods/docx/xlsx/doc/xls documents for .NET
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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.
There's a load of packages to do it for example https://github.com/Antaris/RazorEngine
Project mention: Introducing TopazView: A Lightweight and Powerful View Engine | /r/csharp | 2023-06-09Yes, 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.
Project mention: Compact Object to Text Transform Language (Cottle) | /r/VisualStudioCode | 2023-06-26
C# Template engine related posts
-
Generating C# code programmatically
-
Scriban lightweight scripting language for .NET
-
Install DotLiquid library tester in my pipeline
-
Verticle Slice Architecture
-
Introducing TopazView: A Lightweight and Powerful View Engine
-
A Handlebar and Puppeteer Equivalent in C#?
-
C# Library for Go template
-
A note from our sponsor - SaaSHub
www.saashub.com | 4 May 2024
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