RazorEngine
MiniRazor
Our great sponsors
RazorEngine | MiniRazor | |
---|---|---|
4 | 1 | |
2,114 | 206 | |
- | - | |
0.0 | 6.3 | |
almost 3 years ago | over 1 year ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RazorEngine
-
C# Library for Go template
There's a load of packages to do it for example https://github.com/Antaris/RazorEngine
-
How to generate PDF and HTML in 2023?
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.
- Rendering HTML (C# windows forms) not working after deploy
-
New library: BlazorTemplater
Sorry! I only realised the need on Monday when my .NET Standard Library that contains .cshtml templates broke when I added .razor support. I use RazorLight and used to use RazorEngine before that.
MiniRazor
What are some alternatives?
RazorLight - Template engine based on Microsoft's Razor parsing engine for .NET Core
Privatest - Adding instance-level accessibility mode to C#
scriban - A fast, powerful, safe and lightweight scripting language and engine for .NET
Razor.Templating.Core - Razor Templating Engine to render Razor Views(.cshtml files) to String in Console, Web, Service, Desktop workloads in .NET Core 3+
DotLiquid - .NET Port of Tobias Lütke's Liquid template language.
spraycc - Efficiently distribute large builds across batch-queued compute clusters such as those using LSF or OpenLava.
SmartFormat.NET - A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
Handlebars.Net - A real .NET Handlebars engine
Mustache Sharp - An extension of the mustache text template engine for .NET.
Nustache - Logic-less templates for .NET
Stubble - Trimmed down {{mustache}} templates in .NET