Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows to run Razor templates outside of ASP.NET projects.
To install RazorTemplates, run the following command in the Package Manager Console:
PM> Install-Package RazorTemplatesUsing the library is as simple as two lines of code:
using RazorTemplates.Core;
var template = Template.Compile("Hello @Model.Name!");
Console.WriteLine(template.Render(new { Name = "World" }));You can extend templates by including required namespaces:
…No open issues yet, or sync has not completed.