| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Based on issue https://github.com/adoconnection/RazorEngineCore/issues/58. Data as of October 2026: package metadata from NuGet and GitHub, Razor features checked with small .NET 10 test apps against the latest package versions.
All improvements are welcome!
| RazorEngineCore | RazorLight | RazorEngine.NetCore | Razor.Templating.Core | |
|---|---|---|---|---|
| Latest release | 2026.1.1 (Jan 17, 2026) | 2.3.1 (Jan 16, 2023) | 3.1.1 (Dec 9, 2025) | 3.1.0 (Feb 22, 2026) |
| Last commit | Oct 2026 | Jul 2024 | Dec 2025 | Feb 2026 |
| NuGet downloads | ~9.4M | ~38.6M | ~23.8M | ~9.0M |
| GitHub stars | 645 | 1,664 | 122 | 383 |
| License | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Target frameworks | netstandard2.0, net5.0 – net10.0 | netstandard2.0, netcoreapp3.1, net5.0, net6.0 | netstandard2.1, netcoreapp3.1 | net10.0 |
| Dependencies | Razor.Language + Roslyn only | ASP.NET Core MVC Razor packages, Microsoft.AspNetCore.App framework reference | Razor.Language + Roslyn | Microsoft.AspNetCore.App framework reference, Razor SDK |
| Extra project settings | none | PreserveCompilationContext required | none | views must be in the project or a Razor Class Library |
| Issue tracker | open | open | disabled | open |
| RazorEngineCore | RazorLight | RazorEngine.NetCore | Razor.Templating.Core | |
|---|---|---|---|---|
| Templates from string / database at runtime | ✅ | ✅ | ✅ | ❌ build time only |
| Templates from files, embedded resources | read them yourself and pass a string | ✅ built-in projects | ✅ built-in template managers | ✅ project views |
| Save / load compiled template | ✅ file or stream | compiled dll cache in a directory | ❌ | not needed, views are precompiled |
| Caching | your own (example) | memory or file system provider | memory | not needed |
| Unload compiled templates from memory | ✅ EnableUnloading() (2026.10.1+) | ❌ | ❌ | not needed |
| Async API | ✅ | ✅ async only | ❌ sync only | ✅ |
| Template debugging | ✅ |
| RazorEngineCore | RazorLight | RazorEngine.NetCore | Razor.Templating.Core | |
|---|---|---|---|---|
| HTML encoding by default | ❌ few lines of code | ✅ | ✅ | ✅ |
| @Raw | few lines of code | ✅ | ✅ | @Html.Raw |
| Layouts | few lines of code | ✅ | ✅ | ✅ |
| Includes / partials | few lines of code | ✅ | ✅ | ✅ |
| @section | ❌ | ✅ | ❌ | |
| @model | ❌ use @inherits | ✅ | ❌ | ✅ |
| @inject | ❌ use template base | compiles, open issues | ❌ | ✅ |
| @functions | ✅ | ✅ | needs extra configuration | |
| Tag helpers | ❌ | ❌ | ❌ | ✅ |
| Strongly typed model | ✅ RazorEngineTemplateBase<T> | ✅ | ✅ | ✅ |
| Anonymous / ExpandoObject model | ✅ | ✅ | ✅ |
Empty cell — not checked.
RazorEngineCore
RazorLight
RazorEngine.NetCore
Razor.Templating.Core
| Back | FazBrowse Home | New Git URL |