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 6,209 9/2/2017
4.5.0-rc1 4,033 6/16/2017
4.4.3-rc1 24,426 11/13/2016
4.4.2-rc1 325 11/13/2016
4.4.1-rc1 456 10/28/2016
4.4.0-rc1 7,858 7/17/2016
4.3.2-beta1 2,903 4/15/2016
4.3.1-beta1 529 4/3/2016
4.3.0-beta1 226 4/3/2016
4.2.7-beta1 12,738 1/20/2016
4.2.6-beta1 775 12/22/2015
4.2.5-beta1 534 12/14/2015
4.2.4-beta1 522 11/21/2015
4.2.3-beta1 2,240 10/6/2015
4.2.2-beta1 3,524 8/22/2015
4.2.1-beta1 275 8/22/2015
4.2.0-beta3 355 8/21/2015
4.2.0-beta2 1,583 5/1/2015
4.2.0-beta1 341 4/26/2015
4.1.6-beta1 300 4/22/2015
4.1.5-beta1 358 4/10/2015
4.1.4-beta1 423 3/27/2015
4.1.3-beta2 284 3/24/2015
4.1.2-beta1 274 3/23/2015
4.1.1-beta1 447 3/2/2015
4.1.0-beta1 434 2/12/2015
4.0.3-beta1 446 1/27/2015
4.0.2-beta1 408 1/23/2015
4.0.1-beta1 311 1/23/2015
4.0.0-beta2 589 1/6/2015
4.0.0-beta1 397 1/1/2015
3.10.1-alpha001 434 9/2/2017
3.10.0 853,748 6/16/2017
3.9.3 489,366 11/13/2016
3.9.2 5,009 11/13/2016
3.9.1 46,106 10/28/2016
3.9.0 338,462 7/17/2016
3.8.2 313,503 4/15/2016
3.8.1 41,256 4/3/2016
3.8.0 887 4/3/2016
3.7.7 204,045 1/20/2016
3.7.6 60,267 12/22/2015
3.7.5 17,690 12/14/2015
3.7.5-beta2 238 12/2/2015
3.7.5-beta1 255 12/2/2015
3.7.4 54,554 11/21/2015
3.7.3 124,261 10/6/2015
3.7.2 114,464 8/22/2015
3.7.1-alpha1 366 5/1/2015
3.7.0 236,360 5/1/2015
3.7.0-beta1 250 4/26/2015
3.6.6 15,264 4/22/2015
3.6.6-beta2 251 4/13/2015
3.6.6-beta1 243 4/13/2015
3.6.5 15,706 4/10/2015
3.6.5-beta1 246 4/10/2015
3.6.4 17,381 3/27/2015
3.6.3 11,192 3/24/2015
3.6.3-beta2 259 3/24/2015
3.6.3-beta1 252 3/24/2015
3.6.2 2,051 3/23/2015
3.6.1 58,628 2/23/2015
3.6.0 31,040 2/12/2015
3.5.3 35,446 1/27/2015
3.5.2 2,507 1/23/2015
3.5.1 1,372 1/23/2015
3.5.0 22,340 1/14/2015
3.5.0-beta3 327 1/6/2015
3.5.0-beta2 329 1/1/2015
3.5.0-beta1 304 1/1/2015
3.4.2 76,214 11/28/2014
3.4.1 518,564 1/17/2014
3.4.0 52,525 10/20/2013
3.3.0 261,996 7/13/2013
3.2.0 192,546 1/17/2013
3.1.0 16,031 1/12/2013
3.0.8 85,717 1/31/2012
3.0.7 5,180 1/3/2012
3.0.6 469 1/2/2012
3.0.5 1,349 12/12/2011
3.0.4 482 12/12/2011
3.0.3 1,656 11/27/2011
3.0.0 3,407 11/24/2011
2.1.0 44,146 1/22/2011
Show less