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 1,524 9/2/2017
4.5.0-rc1 2,105 6/16/2017
4.4.3-rc1 14,560 11/13/2016
4.4.2-rc1 250 11/13/2016
4.4.1-rc1 375 10/28/2016
4.4.0-rc1 5,366 7/17/2016
4.3.2-beta1 2,517 4/15/2016
4.3.1-beta1 453 4/3/2016
4.3.0-beta1 161 4/3/2016
4.2.7-beta1 2,127 1/20/2016
4.2.6-beta1 656 12/22/2015
4.2.5-beta1 448 12/14/2015
4.2.4-beta1 454 11/21/2015
4.2.3-beta1 2,144 10/6/2015
4.2.2-beta1 2,107 8/22/2015
4.2.1-beta1 212 8/22/2015
4.2.0-beta3 289 8/21/2015
4.2.0-beta2 1,481 5/1/2015
4.2.0-beta1 276 4/26/2015
4.1.6-beta1 237 4/22/2015
4.1.5-beta1 291 4/10/2015
4.1.4-beta1 359 3/27/2015
4.1.3-beta2 218 3/24/2015
4.1.2-beta1 209 3/23/2015
4.1.1-beta1 374 3/2/2015
4.1.0-beta1 (current version) 360 2/12/2015
4.0.3-beta1 367 1/27/2015
4.0.2-beta1 278 1/23/2015
4.0.1-beta1 244 1/23/2015
4.0.0-beta2 507 1/6/2015
4.0.0-beta1 317 1/1/2015
3.10.1-alpha001 79 9/2/2017
3.10.0 204,451 6/16/2017
3.9.3 305,471 11/13/2016
3.9.2 2,557 11/13/2016
3.9.1 33,643 10/28/2016
3.9.0 202,302 7/17/2016
3.8.2 239,590 4/15/2016
3.8.1 32,650 4/3/2016
3.8.0 732 4/3/2016
3.7.7 156,602 1/20/2016
3.7.6 51,251 12/22/2015
3.7.5 14,605 12/14/2015
3.7.5-beta2 175 12/2/2015
3.7.5-beta1 192 12/2/2015
3.7.4 38,353 11/21/2015
3.7.3 95,075 10/6/2015
3.7.2 90,203 8/22/2015
3.7.1-alpha1 300 5/1/2015
3.7.0 162,794 5/1/2015
3.7.0-beta1 186 4/26/2015
3.6.6 13,153 4/22/2015
3.6.6-beta2 187 4/13/2015
3.6.6-beta1 179 4/13/2015
3.6.5 13,964 4/10/2015
3.6.5-beta1 181 4/10/2015
3.6.4 15,527 3/27/2015
3.6.3 9,185 3/24/2015
3.6.3-beta2 194 3/24/2015
3.6.3-beta1 186 3/24/2015
3.6.2 1,809 3/23/2015
3.6.1 47,585 2/23/2015
3.6.0 22,534 2/12/2015
3.5.3 29,104 1/27/2015
3.5.2 2,085 1/23/2015
3.5.1 1,261 1/23/2015
3.5.0 16,700 1/14/2015
3.5.0-beta3 260 1/6/2015
3.5.0-beta2 261 1/1/2015
3.5.0-beta1 234 1/1/2015
3.4.2 54,252 11/28/2014
3.4.1 388,791 1/17/2014
3.4.0 41,083 10/20/2013
3.3.0 207,448 7/13/2013
3.2.0 155,575 1/17/2013
3.1.0 14,195 1/12/2013
3.0.8 74,502 1/31/2012
3.0.7 4,949 1/3/2012
3.0.6 343 1/2/2012
3.0.5 1,213 12/12/2011
3.0.4 354 12/12/2011
3.0.3 1,486 11/27/2011
3.0.0 3,026 11/24/2011
2.1.0 39,282 1/22/2011
Show less