RazorTemplates
RazorTemplates copied to clipboard
Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 6.0.1 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Hi TemplateCompiler.cs line 106 generates a new Directory in Temp for every compiled view. Even tough the TempFileCollection deletes the file in it, is there a possibility to get rid...
Hello, I have problem with Template.Compile() method. My template looks like: @foreach (var event in Model.Events){@event.Name} That compilation works in Console Application and in one my test Windows Service, but...
Add a fix for mono, if have compile warnings then compileResult.Errors is not null & compileResult.Errors.Count has value then thrown TemplateCompilationException.
Hi @volkovku , Recently I installed the RazorTemplate NuGet package on a project and I had to add the Razor Engine dependency manually, furthermore after cloning the RazorTemplate repository and...
I found this on StackOverflow, and I had found RazorEngine as well. However, it seems RazorEngine hasn't been updated in about 2 years, which makes it older than MVC 4,...
Hi Kirill, I want to keep this as short as possible, so I am going to reference another post, but I believe the RazorTemplates project is suffering from the same...
if create "TemplateBase"'s Derived class completed and cache it. then invoke many a time,the output is not want.
Layouts
How can i use Layouts? I try to use @{ Layout = "_Layout.cshtml"; } and fail the compliter. The Layout name not found.
After rendering the template with the model, I sometimes get extra periods in various url's on the page. For instance: http://sub.domain.com/ turns to: http://sub..domain.com/ Which breaks img src's and href's.