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 8,091 9/2/2017
4.5.0-rc1 4,725 6/16/2017
4.4.3-rc1 27,175 11/13/2016
4.4.2-rc1 363 11/13/2016
4.4.1-rc1 511 10/28/2016
4.4.0-rc1 10,864 7/17/2016
4.3.2-beta1 2,992 4/15/2016
4.3.1-beta1 559 4/3/2016
4.3.0-beta1 257 4/3/2016
4.2.7-beta1 15,083 1/20/2016
4.2.6-beta1 809 12/22/2015
4.2.5-beta1 566 12/14/2015
4.2.4-beta1 553 11/21/2015
4.2.3-beta1 2,280 10/6/2015
4.2.2-beta1 3,755 8/22/2015
4.2.1-beta1 305 8/22/2015
4.2.0-beta3 387 8/21/2015
4.2.0-beta2 1,625 5/1/2015
4.2.0-beta1 375 4/26/2015
4.1.6-beta1 334 4/22/2015
4.1.5-beta1 393 4/10/2015
4.1.4-beta1 457 3/27/2015
4.1.3-beta2 317 3/24/2015
4.1.2-beta1 309 3/23/2015
4.1.1-beta1 487 3/2/2015
4.1.0-beta1 470 2/12/2015
4.0.3-beta1 484 1/27/2015
4.0.2-beta1 451 1/23/2015
4.0.1-beta1 345 1/23/2015
4.0.0-beta2 627 1/6/2015
4.0.0-beta1 434 1/1/2015
3.10.1-alpha001 548 9/2/2017
3.10.0 1,029,515 6/16/2017
3.9.3 531,604 11/13/2016
3.9.2 5,371 11/13/2016
3.9.1 48,388 10/28/2016
3.9.0 382,419 7/17/2016
3.8.2 331,557 4/15/2016
3.8.1 43,699 4/3/2016
3.8.0 1,012 4/3/2016
3.7.7 214,671 1/20/2016
3.7.6 62,110 12/22/2015
3.7.5 18,700 12/14/2015
3.7.5-beta2 256 12/2/2015
3.7.5-beta1 274 12/2/2015
3.7.4 59,072 11/21/2015
3.7.3 133,813 10/6/2015
3.7.2 118,851 8/22/2015
3.7.1-alpha1 387 5/1/2015
3.7.0 244,282 5/1/2015
3.7.0-beta1 270 4/26/2015
3.6.6 15,735 4/22/2015
3.6.6-beta2 272 4/13/2015
3.6.6-beta1 265 4/13/2015
3.6.5 15,984 4/10/2015
3.6.5-beta1 266 4/10/2015
3.6.4 17,745 3/27/2015
3.6.3 11,305 3/24/2015
3.6.3-beta2 280 3/24/2015
3.6.3-beta1 272 3/24/2015
3.6.2 2,137 3/23/2015
3.6.1 60,595 2/23/2015
3.6.0 32,973 2/12/2015
3.5.3 36,683 1/27/2015
3.5.2 2,552 1/23/2015
3.5.1 1,420 1/23/2015
3.5.0 22,632 1/14/2015
3.5.0-beta3 348 1/6/2015
3.5.0-beta2 350 1/1/2015
3.5.0-beta1 325 1/1/2015
3.4.2 81,284 11/28/2014
3.4.1 547,278 1/17/2014
3.4.0 57,323 10/20/2013
3.3.0 277,530 7/13/2013
3.2.0 202,034 1/17/2013
3.1.0 16,631 1/12/2013
3.0.8 88,543 1/31/2012
3.0.7 5,208 1/3/2012
3.0.6 493 1/2/2012
3.0.5 1,380 12/12/2011
3.0.4 511 12/12/2011
3.0.3 1,722 11/27/2011
3.0.0 3,495 11/24/2011
2.1.0 45,544 1/22/2011
Show less