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 28 12/11/2025
4.5.0-rc1 22 12/11/2025
4.4.3-rc1 25 12/11/2025
4.4.2-rc1 23 12/12/2025
4.4.1-rc1 27 12/12/2025
4.4.0-rc1 24 12/11/2025
4.3.2-beta1 22 12/12/2025
4.3.1-beta1 24 12/12/2025
4.3.0-beta1 29 12/11/2025
4.2.7-beta1 23 12/12/2025
4.2.6-beta1 24 12/12/2025
4.2.5-beta1 32 12/11/2025
4.2.4-beta1 25 12/12/2025
4.2.3-beta1 24 12/11/2025
4.2.2-beta1 28 12/11/2025
4.2.1-beta1 24 12/11/2025
4.2.0-beta3 26 12/11/2025
4.2.0-beta2 24 12/11/2025
4.2.0-beta1 29 12/11/2025
4.1.6-beta1 26 12/12/2025
4.1.5-beta1 25 12/12/2025
4.1.4-beta1 25 12/11/2025
4.1.3-beta2 25 12/12/2025
4.1.2-beta1 25 12/12/2025
4.1.1-beta1 26 12/11/2025
4.1.0-beta1 24 12/11/2025
4.0.3-beta1 26 12/11/2025
4.0.2-beta1 29 12/12/2025
4.0.1-beta1 27 12/12/2025
4.0.0-beta2 28 12/12/2025
4.0.0-beta1 27 12/11/2025
3.10.1-alpha001 27 12/12/2025
3.10.0 20 12/12/2025
3.9.3 26 12/11/2025
3.9.2 21 12/11/2025
3.9.1 39 12/11/2025
3.9.0 25 12/11/2025
3.8.2 29 12/11/2025
3.8.1 26 12/11/2025
3.8.0 33 12/11/2025
3.7.7 26 12/12/2025
3.7.6 25 12/12/2025
3.7.5 25 12/11/2025
3.7.5-beta2 26 12/11/2025
3.7.5-beta1 24 12/12/2025
3.7.4 24 12/11/2025
3.7.3 26 12/12/2025
3.7.2 23 12/11/2025
3.7.1-alpha1 28 12/11/2025
3.7.0 28 12/11/2025
3.7.0-beta1 27 12/11/2025
3.6.6 27 12/12/2025
3.6.6-beta2 24 12/12/2025
3.6.6-beta1 28 12/11/2025
3.6.5 26 12/11/2025
3.6.5-beta1 32 12/11/2025
3.6.4 29 12/12/2025
3.6.3 22 12/12/2025
3.6.3-beta2 30 12/11/2025
3.6.3-beta1 26 12/12/2025
3.6.2 29 12/12/2025
3.6.1 34 12/12/2025
3.6.0 37 12/09/2025
3.5.3 26 12/12/2025
3.5.2 23 12/12/2025
3.5.1 27 12/11/2025
3.5.0 25 12/11/2025
3.5.0-beta3 26 12/12/2025
3.5.0-beta2 22 12/12/2025
3.5.0-beta1 22 12/11/2025
3.4.2 20 12/12/2025
3.4.1 32 12/11/2025
3.4.0 28 12/12/2025
3.3.0 23 12/12/2025
3.2.0 26 12/12/2025
3.1.0 29 12/11/2025
3.0.8 22 12/12/2025
3.0.7 36 12/11/2025
3.0.6 31 12/11/2025
3.0.5 25 12/12/2025
3.0.4 29 12/11/2025
3.0.3 34 12/12/2025
3.0.0 30 12/11/2025
2.1.0 28 12/11/2025