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