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