RazorEngine 4.1.0-beta1

RazorEngine - A Templating Engine based on the Razor parser.

This is a prerelease version of RazorEngine.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package RazorEngine -Version 4.1.0-beta1
dotnet add package RazorEngine --version 4.1.0-beta1
paket add RazorEngine --version 4.1.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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<T> 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.

Version History

Version Downloads Last updated
4.5.1-alpha001 10,691 9/2/2017
4.5.0-rc1 5,580 6/16/2017
4.4.3-rc1 30,425 11/13/2016
4.4.2-rc1 397 11/13/2016
4.4.1-rc1 557 10/28/2016
4.4.0-rc1 13,833 7/17/2016
4.3.2-beta1 3,136 4/15/2016
4.3.1-beta1 589 4/3/2016
4.3.0-beta1 293 4/3/2016
4.2.7-beta1 16,539 1/20/2016
4.2.6-beta1 878 12/22/2015
4.2.5-beta1 610 12/14/2015
4.2.4-beta1 621 11/21/2015
4.2.3-beta1 2,320 10/6/2015
4.2.2-beta1 4,115 8/22/2015
4.2.1-beta1 375 8/22/2015
4.2.0-beta3 420 8/21/2015
4.2.0-beta2 1,673 5/1/2015
4.2.0-beta1 419 4/26/2015
4.1.6-beta1 366 4/22/2015
4.1.5-beta1 425 4/10/2015
4.1.4-beta1 534 3/27/2015
4.1.3-beta2 381 3/24/2015
4.1.2-beta1 341 3/23/2015
4.1.1-beta1 569 3/2/2015
4.1.0-beta1 515 2/12/2015
4.0.3-beta1 542 1/27/2015
4.0.2-beta1 572 1/23/2015
4.0.1-beta1 465 1/23/2015
4.0.0-beta2 664 1/6/2015
4.0.0-beta1 512 1/1/2015
3.10.1-alpha001 1,110 9/2/2017
3.10.0 1,225,449 6/16/2017
3.9.3 577,428 11/13/2016
3.9.2 5,761 11/13/2016
3.9.1 51,712 10/28/2016
3.9.0 428,530 7/17/2016
3.8.2 349,740 4/15/2016
3.8.1 45,520 4/3/2016
3.8.0 1,156 4/3/2016
3.7.7 228,984 1/20/2016
3.7.6 64,830 12/22/2015
3.7.5 19,567 12/14/2015
3.7.5-beta2 285 12/2/2015
3.7.5-beta1 313 12/2/2015
3.7.4 64,057 11/21/2015
3.7.3 143,154 10/6/2015
3.7.2 123,592 8/22/2015
3.7.1-alpha1 447 5/1/2015
3.7.0 251,127 5/1/2015
3.7.0-beta1 303 4/26/2015
3.6.6 16,680 4/22/2015
3.6.6-beta2 301 4/13/2015
3.6.6-beta1 294 4/13/2015
3.6.5 16,497 4/10/2015
3.6.5-beta1 295 4/10/2015
3.6.4 18,120 3/27/2015
3.6.3 11,450 3/24/2015
3.6.3-beta2 341 3/24/2015
3.6.3-beta1 311 3/24/2015
3.6.2 2,243 3/23/2015
3.6.1 63,733 2/23/2015
3.6.0 34,733 2/12/2015
3.5.3 38,397 1/27/2015
3.5.2 2,614 1/23/2015
3.5.1 1,568 1/23/2015
3.5.0 23,204 1/14/2015
3.5.0-beta3 391 1/6/2015
3.5.0-beta2 421 1/1/2015
3.5.0-beta1 400 1/1/2015
3.4.2 84,937 11/28/2014
3.4.1 577,765 1/17/2014
3.4.0 60,632 10/20/2013
3.3.0 294,046 7/13/2013
3.2.0 211,559 1/17/2013
3.1.0 17,466 1/12/2013
3.0.8 91,029 1/31/2012
3.0.7 5,262 1/3/2012
3.0.6 551 1/2/2012
3.0.5 1,450 12/12/2011
3.0.4 591 12/12/2011
3.0.3 1,807 11/27/2011
3.0.0 3,622 11/24/2011
2.1.0 47,128 1/22/2011
Show less