RazorEngine 4.1.0-beta1

RazorEngine - A Templating Engine based on the Razor parser.

No packages depend on RazorEngine.

ICodeInspector API is now obsolete (it has been removed in 4.0.0). Nested classes can now be used as template-base-class. ViewBag data can now be used in overwritten SetModel calls Viewbag is set like the model on template creation (not in the ExecuteContext) This leads to some minor breaking changes

  • Creating a ExecuteContext with a non-null viewbag throws a NotSupportedException (obsolete API)
  • added a DynamicViewBag parameter to IInternalTemplateService.Resolve (you should not need to use that API)
  • ITemplate.SetModel has changed to ITemplate.SetData (you are not affected if you use TemplateBase or TemplateBase as base class, which is recommended) These changes are strictly speaking breaking, but they shouldn't practically affect anyone. Watch out for new Obsolete warnings and fix them.

Any 0.0

Version Downloads Last updated
4.5.1-alpha001 12 12/11/2025
4.5.0-rc1 11 12/11/2025
4.4.3-rc1 12 12/11/2025
4.4.2-rc1 11 12/12/2025
4.4.1-rc1 12 12/12/2025
4.4.0-rc1 10 12/11/2025
4.3.2-beta1 11 12/12/2025
4.3.1-beta1 14 12/12/2025
4.3.0-beta1 12 12/11/2025
4.2.7-beta1 12 12/12/2025
4.2.6-beta1 10 12/12/2025
4.2.5-beta1 13 12/11/2025
4.2.4-beta1 14 12/12/2025
4.2.3-beta1 11 12/11/2025
4.2.2-beta1 13 12/11/2025
4.2.1-beta1 12 12/11/2025
4.2.0-beta3 13 12/11/2025
4.2.0-beta2 12 12/11/2025
4.2.0-beta1 16 12/11/2025
4.1.6-beta1 11 12/12/2025
4.1.5-beta1 11 12/12/2025
4.1.4-beta1 11 12/11/2025
4.1.3-beta2 12 12/12/2025
4.1.2-beta1 12 12/12/2025
4.1.1-beta1 16 12/11/2025
4.1.0-beta1 13 12/11/2025
4.0.3-beta1 11 12/11/2025
4.0.2-beta1 12 12/12/2025
4.0.1-beta1 13 12/12/2025
4.0.0-beta2 11 12/12/2025
4.0.0-beta1 11 12/11/2025
3.10.1-alpha001 13 12/12/2025
3.10.0 12 12/12/2025
3.9.3 12 12/11/2025
3.9.2 11 12/11/2025
3.9.1 25 12/11/2025
3.9.0 14 12/11/2025
3.8.2 14 12/11/2025
3.8.1 12 12/11/2025
3.8.0 17 12/11/2025
3.7.7 11 12/12/2025
3.7.6 10 12/12/2025
3.7.5 12 12/11/2025
3.7.5-beta2 13 12/11/2025
3.7.5-beta1 13 12/12/2025
3.7.4 12 12/11/2025
3.7.3 13 12/12/2025
3.7.2 9 12/11/2025
3.7.1-alpha1 14 12/11/2025
3.7.0 11 12/11/2025
3.7.0-beta1 12 12/11/2025
3.6.6 11 12/12/2025
3.6.6-beta2 13 12/12/2025
3.6.6-beta1 13 12/11/2025
3.6.5 11 12/11/2025
3.6.5-beta1 15 12/11/2025
3.6.4 11 12/12/2025
3.6.3 12 12/12/2025
3.6.3-beta2 12 12/11/2025
3.6.3-beta1 11 12/12/2025
3.6.2 12 12/12/2025
3.6.1 22 12/12/2025
3.6.0 13 12/09/2025
3.5.3 12 12/12/2025
3.5.2 14 12/12/2025
3.5.1 12 12/11/2025
3.5.0 12 12/11/2025
3.5.0-beta3 13 12/12/2025
3.5.0-beta2 11 12/12/2025
3.5.0-beta1 11 12/11/2025
3.4.2 10 12/12/2025
3.4.1 15 12/11/2025
3.4.0 12 12/12/2025
3.3.0 11 12/12/2025
3.2.0 10 12/12/2025
3.1.0 15 12/11/2025
3.0.8 12 12/12/2025
3.0.7 18 12/11/2025
3.0.6 14 12/11/2025
3.0.5 12 12/12/2025
3.0.4 12 12/11/2025
3.0.3 12 12/12/2025
3.0.0 17 12/11/2025
2.1.0 14 12/11/2025