Blog Logo
TAGS

RazorLight - Build Templates from Files, EmbeddedResources, Strings, Database, or Custom Sources with Excellent .NET Standard 2.0 and .NET Core 3.0 Support

RazorLight is a library that allows you to build templates from various sources like files, embedded resources, strings, databases, or your custom source outside of ASP.NET MVC. It offers excellent performance and supports .NET Standard 2.0 and .NET Core 3.0. As of version 2.3.0, the library is available via NuGet. The library also includes provisions for encoding and metadata references. The Quickstart section describes how to install the NuGet package, create a template from a string and render a compiled template. The Template sources section provides details on how to create templates from different sources like files, embedded resources, and databases. Additionally, the library provides support for partials, enabling intellisense support, and has an FAQ section. Aside from the library details, the JSON structure also includes a message from the creator of the library related to the invasion of Ukraine and their request for support for a charity organization called ComeBackAlive.