Regira.Web.HTML.RazorLight
6.5.0
dotnet add package Regira.Web.HTML.RazorLight --version 6.5.0
NuGet\Install-Package Regira.Web.HTML.RazorLight -Version 6.5.0
<PackageReference Include="Regira.Web.HTML.RazorLight" Version="6.5.0" />
<PackageVersion Include="Regira.Web.HTML.RazorLight" Version="6.5.0" />
<PackageReference Include="Regira.Web.HTML.RazorLight" />
paket add Regira.Web.HTML.RazorLight --version 6.5.0
#r "nuget: Regira.Web.HTML.RazorLight, 6.5.0"
#:package Regira.Web.HTML.RazorLight@6.5.0
#addin nuget:?package=Regira.Web.HTML.RazorLight&version=6.5.0
#tool nuget:?package=Regira.Web.HTML.RazorLight&version=6.5.0
Regira.Web.HTML.RazorLight
Razor template engine for Regira Web, built on RazorLight. RazorTemplateParser implements IHtmlParser and renders a Razor template string with a model to HTML. Compiled templates are cached in memory: RazorTemplateParser.Options.TemplateKey reuses a compiled template across calls on the same parser instance.
Installation
<PackageReference Include="Regira.Web.HTML.RazorLight" Version="6.*" />
Documentation
- HTML Template Parsing — the shared
IHtmlParsercontract, how the three template engines differ, and theTemplateKeyoption - Render a Razor invoice template — a RazorLight parser registered with a template key, feeding HTML-to-PDF
License
Apache License 2.0 — this package contains no license validation and no runtime limits. See LICENSE. A few companion packages are commercially licensed with a free tier; see the licensing overview.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.12)
- RazorLight (>= 2.3.1)
- Regira.Web (>= 6.5.0)
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 10.0.12)
- RazorLight (>= 2.3.1)
- Regira.Web (>= 6.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.