RazorLight 2.3.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 5.0 .NET Core 3.1 .NET Standard 2.0
dotnet add package RazorLight --version 2.3.1
NuGet\Install-Package RazorLight -Version 2.3.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="RazorLight" Version="2.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RazorLight --version 2.3.1
#r "nuget: RazorLight, 2.3.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.
// Install RazorLight as a Cake Addin
#addin nuget:?package=RazorLight&version=2.3.1

// Install RazorLight as a Cake Tool
#tool nuget:?package=RazorLight&version=2.3.1

Use Razor to build your templates from strings / files / EmbeddedResources outside of ASP.NET MVC for .NET Core

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (81)

Showing the top 5 NuGet packages that depend on RazorLight:

Package Downloads

Generate emails using Razor templates. Anything you can do in ASP.NET is possible here. Uses the RazorLight project under the hood.


Application Component for the Alliance Business Suite.


SimpleBrowser is a lightweight, yet highly capable browser automation engine designed for automation and testing scenarios.


Package Description


Package Description

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on RazorLight:

Repository Stars
All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
Full-stack .Net 7 Clean Architecture (Microservices + Dapr, Modular Monolith, Monolith), Blazor, Angular 15, React 18, Vue 3, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, Identity Server, Entity Framework Core, Selenium, SignalR, Hosted Services, Health Checks, Rate Limiting, Cloud (Azure, AWS) Services, ...
Open deep learning compiler stack for Kendryte AI accelerator
A service for automated crash-dump analysis
A flexible and intuitive web browser engine designed for automation tasks. Built on .NET Standard 2.0.
Version Downloads Last updated
2.3.1 249,538 1/16/2023
2.3.0 272,074 10/14/2022
2.2.0 1,620 10/14/2022
2.1.0 487,890 7/15/2022
2.0.0 966,337 3/18/2022
2.0.0-rc.6 90,824 2/17/2022
2.0.0-rc.4 111,023 12/8/2021
2.0.0-rc.2 240,875 11/18/2020
2.0.0-rc.1 10,102 11/17/2020
2.0.0-beta9 686,208 6/24/2020
2.0.0-beta8 20,382 6/21/2020
2.0.0-beta7 368,606 3/27/2020
2.0.0-beta6 5,154 3/25/2020
2.0.0-beta5 43,410 3/18/2020
2.0.0-beta4 405,812 12/19/2019
2.0.0-beta3 6,790 12/18/2019
2.0.0-beta2 95,550 11/27/2019
2.0.0-beta10 29,325 9/22/2020
2.0.0-beta1 3,579,253 12/22/2017
2.0.0-alpha3 182,119 9/23/2017
2.0.0-alpha2 1,963 9/18/2017
2.0.0-alpha1 11,641 9/10/2017
1.1.0 332,772 4/30/2017
1.0.1 4,130 4/14/2017
1.0.0 20,312 4/3/2017
1.0.0-rc2 19,406 2/20/2017
1.0.0-rc1 15,062 10/13/2016
1.0.0-beta6 1,601 9/27/2016
1.0.0-beta5 3,282 8/31/2016
1.0.0-beta4 1,104 8/27/2016
1.0.0-beta3 1,754 8/12/2016
1.0.0-beta2 1,224 8/11/2016
1.0.0-beta1 1,135 8/7/2016