RazorLight 2.0.0

.NET 5.0 .NET Core 3.1 .NET Standard 2.0
Install-Package RazorLight -Version 2.0.0
dotnet add package RazorLight --version 2.0.0
<PackageReference Include="RazorLight" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RazorLight --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RazorLight, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.0.0

// Install RazorLight as a Cake Tool
#tool nuget:?package=RazorLight&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

NuGet packages (68)

Showing the top 5 NuGet packages that depend on RazorLight:

Package Downloads
FluentEmail.Razor

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

SimpleBrowser

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

CoreMore

Package Description

GR.Notifications.Abstractions

Package Description

Cake.Graph

An alias for Cake to help with displaying Task dependencies

GitHub repositories (6)

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

Repository Stars
lukencode/FluentEmail
All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
xamarin/XamarinComponents
Plugins for Xamarin
phongnguyend/Practical.CleanArchitecture
Asp.Net Core 6 Clean Architecture (Microservices, Modular Monolith, Monolith) samples (+Blazor, Angular 13, React 17, Vue 2.6), Domain-Driven Design, CQRS, Event Sourcing, SOLID, Asp.Net Core Identity Custom Storage, Identity Server 4 Admin UI, Entity Framework Core, Selenium E2E Testing, SignalR, Hosted Services, Health Checks, Security Headers, ...
Dynatrace/superdump
A service for automated crash-dump analysis
SimpleBrowserDotNet/SimpleBrowser
A flexible and intuitive web browser engine designed for automation tasks. Built on .NET Standard 2.0.
Version Downloads Last updated
2.0.0 189,077 3/18/2022
2.0.0-rc.6 21,106 2/17/2022
2.0.0-rc.4 63,715 12/8/2021
2.0.0-rc.3 1,465,963 12/20/2020
2.0.0-rc.2 163,393 11/18/2020
2.0.0-rc.1 8,963 11/17/2020
2.0.0-beta9 539,043 6/24/2020
2.0.0-beta8 13,523 6/21/2020
2.0.0-beta7 312,952 3/27/2020
2.0.0-beta6 4,871 3/25/2020
2.0.0-beta5 30,660 3/18/2020
2.0.0-beta4 311,467 12/19/2019
2.0.0-beta3 5,909 12/18/2019
2.0.0-beta2 83,586 11/27/2019
2.0.0-beta10 23,018 9/22/2020
2.0.0-beta1 2,867,431 12/22/2017
2.0.0-alpha3 168,466 9/23/2017
2.0.0-alpha2 1,831 9/18/2017
2.0.0-alpha1 11,520 9/10/2017
1.1.0 273,123 4/30/2017
1.0.1 3,921 4/14/2017
1.0.0 19,032 4/3/2017
1.0.0-rc2 18,079 2/20/2017
1.0.0-rc1 14,756 10/13/2016
1.0.0-beta6 1,368 9/27/2016
1.0.0-beta5 3,012 8/31/2016
1.0.0-beta4 1,009 8/27/2016
1.0.0-beta3 1,650 8/12/2016
1.0.0-beta2 1,122 8/11/2016
1.0.0-beta1 1,029 8/7/2016