Home

Awesome

SharpRazor

SharpRazor is a lightweight templating system based on the powerful Razor templating stack.

Usage

var razorizer = new Razorizer();
var result = razorizer.Parse("<p>Hello @Model.Name!</p>", new { Name = "Razor" });

Output:

<p>Hello Razor!</p>

Features

SharpRazor provides the following features:

Available from Nuget

You can download SharpRazor binaries directly from nuget.

License

MIT