RazorEngineCore
RazorEngineCore copied to clipboard
.NET6 Razor Template Engine
Following the [example ](https://github.com/adoconnection/RazorEngineCore/wiki/Strongly-typed-model) for Strongly typed model usage, I get the following error when I try to complie simple template: ```` Unable to compile template: (28,69): error CS1031: Type...
It seems that they are added via the builder in RazorProjectEngine, with TemplateTargetExtension. But [builder method](https://github.com/adoconnection/RazorEngineCore/blob/c285822d6f1c96006c61053b5486e6c43e195b4f/RazorEngineCore/RazorEngine.cs#L60-L63) is completely inaccessible and impossible to extend with current API? That's kinda surprising it...
This is a rebase and enhancement of pull request #83 Many thanks to @shehrozeee for creating the original PR as this is a really useful feature. In addition to the...
```csharp IRazorEngine razorEngine = new RazorEngine(); IRazorEngineCompiledTemplate template = razorEngine.Compile("Hello @Model.Name"); string result = template.Run(new { Name = "Alexander" }); ``` catch error:type can't be null ``` in System.Activator.CreateInstance(Type type,...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.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...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.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...
I'm evaluating various C# templating libraries. I saw that the Cottle library had a benchmark that included RazorLight, so I added RazorEngineCore to it. The results are **very** bad, so...
Hi, first of all I want to congratulate you on a very nice, clean and concise wrapper around the Razor engine. I had a look at a few other options...
This pull is in relation to the issue here: https://github.com/adoconnection/RazorEngineCore/issues/98 For my use-case I need to be able to write blocks of binary data to output files and without this...
After each build I'd like nuget package to be created and pushed to Nuget. This should be obvious task I dont see how to do😫