Regira.Web.HTML.RazorComponents
6.6.1
See the version list below for details.
dotnet add package Regira.Web.HTML.RazorComponents --version 6.6.1
NuGet\Install-Package Regira.Web.HTML.RazorComponents -Version 6.6.1
<PackageReference Include="Regira.Web.HTML.RazorComponents" Version="6.6.1" />
<PackageVersion Include="Regira.Web.HTML.RazorComponents" Version="6.6.1" />
<PackageReference Include="Regira.Web.HTML.RazorComponents" />
paket add Regira.Web.HTML.RazorComponents --version 6.6.1
#r "nuget: Regira.Web.HTML.RazorComponents, 6.6.1"
#:package Regira.Web.HTML.RazorComponents@6.6.1
#addin nuget:?package=Regira.Web.HTML.RazorComponents&version=6.6.1
#tool nuget:?package=Regira.Web.HTML.RazorComponents&version=6.6.1
Regira.Web.HTML.RazorComponents
Razor component renderer for Regira Web, built on ASP.NET Core's HtmlRenderer. RazorComponentRenderer implements IHtmlComponentRenderer and renders a Razor component (a .razor file compiled with the application) with its parameters to HTML. Templates are checked at build time and nothing compiles at runtime, so a first render takes milliseconds. Model values are HTML-encoded; @((MarkupString)value) writes markup. The package has no third-party dependency: HtmlRenderer ships in the Microsoft.AspNetCore.App shared framework. Templates that change without a rebuild, such as templates stored in a database, need a runtime engine such as Regira.Web.HTML.RazorLight instead.
Installation
<PackageReference Include="Regira.Web.HTML.RazorComponents" Version="6.*" />
The .razor files compile in the consuming project, which needs the Razor SDK: Microsoft.NET.Sdk.Web has it, and a worker, console app or class library uses Microsoft.NET.Sdk.Razor.
Documentation
- Razor components — the
IHtmlComponentRenderercontract, registration, and how rendering behaves: encoding, async lifecycle methods, layouts, services and culture - Render an invoice component — the invoice as a component, 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
- Regira.Web (>= 6.6.1)
-
net8.0
- Regira.Web (>= 6.6.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.