Compile Razor templates at build-time without a dependency on ASP.NET.
Get Started
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
RazorBlade
Compile Razor templates at build-time without a dependency on ASP.NET.
RazorBlade is meant to be lightweight and self-contained: cshtml files are compiled into C# classes at build-time with a Roslyn source generator. No reference to ASP.NET is required.
See the GitHub repository for more information.
Downloads by Version
Similar & Alternative Packages
Hand-picked matching NuGet libraries based on tags & ecosystem
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.