Use Razor to build your templates from strings / files / EmbeddedResources outside of ASP.NET MVC for .NET Core.
Info
Version: | 2.3.1 |
Author(s): | toddams |
Last Update: | Monday, January 16, 2023 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/RazorLight |
Install
Install-Package RazorLight
dotnet add package RazorLight
paket add RazorLight
RazorLight Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Microsoft.AspNetCore.Hosting.Abstractions(>= 2.1.0)
- Microsoft.AspNetCore.Html.Abstractions(>= 2.1.0)
- Microsoft.AspNetCore.Mvc.Razor.Extensions(>= 2.1.0)
- Microsoft.AspNetCore.Razor.Language(>= 2.1.0)
- Microsoft.AspNetCore.Razor.Runtime(>= 2.1.0)
- Microsoft.CodeAnalysis.Razor(>= 2.1.0)
- Microsoft.Extensions.Caching.Abstractions(>= 2.1.0)
- Microsoft.Extensions.Caching.Memory(>= 2.1.0)
- Microsoft.Extensions.DependencyInjection(>= 2.1.0)
- Microsoft.Extensions.DependencyModel(>= 2.1.0)
- Microsoft.Extensions.FileProviders.Physical(>= 2.1.0)
- Microsoft.Extensions.Primitives(>= 2.1.0)
- System.Buffers(>= 4.5.0)
- Microsoft.AspNetCore.Mvc.Razor.Extensions(>= 3.0.0)
- Microsoft.CodeAnalysis.Razor(>= 3.0.0)
- Microsoft.Extensions.Caching.Abstractions(>= 3.0.0)
- Microsoft.Extensions.Caching.Memory(>= 3.0.0)
- Microsoft.Extensions.DependencyInjection(>= 3.0.0)
- Microsoft.Extensions.DependencyModel(>= 3.0.0)
- Microsoft.Extensions.FileProviders.Physical(>= 3.0.0)
- Microsoft.Extensions.Primitives(>= 3.0.0)
- System.Buffers(>= 4.5.0)
- Microsoft.AspNetCore.Mvc.Razor.Extensions(>= 3.0.0)
- Microsoft.CodeAnalysis.Razor(>= 3.0.0)
- Microsoft.Extensions.Caching.Abstractions(>= 3.0.0)
- Microsoft.Extensions.Caching.Memory(>= 3.0.0)
- Microsoft.Extensions.DependencyInjection(>= 3.0.0)
- Microsoft.Extensions.DependencyModel(>= 3.0.0)
- Microsoft.Extensions.FileProviders.Physical(>= 3.0.0)
- Microsoft.Extensions.Primitives(>= 3.0.0)
- System.Buffers(>= 4.5.0)
Tags