RazorEngine 3.6.0

RazorEngine - A Templating Engine based on the Razor parser.

There is a newer version of this package available.
See the version list below for details.
Install-Package RazorEngine -Version 3.6.0
dotnet add package RazorEngine --version 3.6.0
paket add RazorEngine --version 3.6.0
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 14,143 9/2/2017
4.5.0-rc1 6,451 6/16/2017
4.4.3-rc1 33,849 11/13/2016
4.4.2-rc1 448 11/13/2016
4.4.1-rc1 602 10/28/2016
4.4.0-rc1 17,441 7/17/2016
4.3.2-beta1 3,219 4/15/2016
4.3.1-beta1 625 4/3/2016
4.3.0-beta1 330 4/3/2016
4.2.7-beta1 17,803 1/20/2016
4.2.6-beta1 923 12/22/2015
4.2.5-beta1 678 12/14/2015
4.2.4-beta1 660 11/21/2015
4.2.3-beta1 2,358 10/6/2015
4.2.2-beta1 4,413 8/22/2015
4.2.1-beta1 414 8/22/2015
4.2.0-beta3 461 8/21/2015
4.2.0-beta2 1,715 5/1/2015
4.2.0-beta1 459 4/26/2015
4.1.6-beta1 402 4/22/2015
4.1.5-beta1 463 4/10/2015
4.1.4-beta1 569 3/27/2015
4.1.3-beta2 418 3/24/2015
4.1.2-beta1 379 3/23/2015
4.1.1-beta1 608 3/2/2015
4.1.0-beta1 553 2/12/2015
4.0.3-beta1 580 1/27/2015
4.0.2-beta1 618 1/23/2015
4.0.1-beta1 505 1/23/2015
4.0.0-beta2 703 1/6/2015
4.0.0-beta1 557 1/1/2015
3.10.1-alpha001 2,188 9/2/2017
3.10.0 1,450,807 6/16/2017
3.9.3 622,830 11/13/2016
3.9.2 6,029 11/13/2016
3.9.1 55,265 10/28/2016
3.9.0 480,232 7/17/2016
3.8.2 368,830 4/15/2016
3.8.1 47,255 4/3/2016
3.8.0 1,323 4/3/2016
3.7.7 250,680 1/20/2016
3.7.6 67,898 12/22/2015
3.7.5 20,025 12/14/2015
3.7.5-beta2 318 12/2/2015
3.7.5-beta1 343 12/2/2015
3.7.4 69,168 11/21/2015
3.7.3 151,102 10/6/2015
3.7.2 129,151 8/22/2015
3.7.1-alpha1 477 5/1/2015
3.7.0 259,222 5/1/2015
3.7.0-beta1 332 4/26/2015
3.6.6 17,740 4/22/2015
3.6.6-beta2 330 4/13/2015
3.6.6-beta1 324 4/13/2015
3.6.5 16,897 4/10/2015
3.6.5-beta1 324 4/10/2015
3.6.4 18,602 3/27/2015
3.6.3 11,669 3/24/2015
3.6.3-beta2 369 3/24/2015
3.6.3-beta1 340 3/24/2015
3.6.2 2,341 3/23/2015
3.6.1 67,804 2/23/2015
3.6.0 36,528 2/12/2015
3.5.3 39,627 1/27/2015
3.5.2 2,669 1/23/2015
3.5.1 1,627 1/23/2015
3.5.0 23,867 1/14/2015
3.5.0-beta3 421 1/6/2015
3.5.0-beta2 448 1/1/2015
3.5.0-beta1 437 1/1/2015
3.4.2 88,725 11/28/2014
3.4.1 612,694 1/17/2014
3.4.0 63,073 10/20/2013
3.3.0 311,472 7/13/2013
3.2.0 235,917 1/17/2013
3.1.0 18,298 1/12/2013
3.0.8 93,378 1/31/2012
3.0.7 5,329 1/3/2012
3.0.6 588 1/2/2012
3.0.5 1,497 12/12/2011
3.0.4 627 12/12/2011
3.0.3 1,857 11/27/2011
3.0.0 3,716 11/24/2011
2.1.0 48,600 1/22/2011
Show less