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.
<PackageReference Include="Regira.Web.HTML.RazorLight" Version="6.*" />
IHtmlParser contract, how the three template engines differ, and the TemplateKey optionApache 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.