Regira.Web.HTML.RazorComponents 6.6.1

There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Regira.Web.HTML.RazorComponents" Version="6.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Regira.Web.HTML.RazorComponents" Version="6.6.1" />
                    
Directory.Packages.props
<PackageReference Include="Regira.Web.HTML.RazorComponents" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Regira.Web.HTML.RazorComponents --version 6.6.1
                    
#r "nuget: Regira.Web.HTML.RazorComponents, 6.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Regira.Web.HTML.RazorComponents@6.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Regira.Web.HTML.RazorComponents&version=6.6.1
                    
Install as a Cake Addin
#tool nuget:?package=Regira.Web.HTML.RazorComponents&version=6.6.1
                    
Install as a Cake Tool

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 IHtmlComponentRenderer contract, 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.6.2 93 11/11/2026
6.6.1 112 10/28/2026
6.6.0 117 10/20/2026