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 2,640 9/2/2017
4.5.0-rc1 2,714 6/16/2017
4.4.3-rc1 18,604 11/13/2016
4.4.2-rc1 275 11/13/2016
4.4.1-rc1 401 10/28/2016
4.4.0-rc1 5,854 7/17/2016
4.3.2-beta1 2,752 4/15/2016
4.3.1-beta1 474 4/3/2016
4.3.0-beta1 181 4/3/2016
4.2.7-beta1 4,595 1/20/2016
4.2.6-beta1 690 12/22/2015
4.2.5-beta1 478 12/14/2015
4.2.4-beta1 474 11/21/2015
4.2.3-beta1 2,180 10/6/2015
4.2.2-beta1 2,617 8/22/2015
4.2.1-beta1 231 8/22/2015
4.2.0-beta3 310 8/21/2015
4.2.0-beta2 1,511 5/1/2015
4.2.0-beta1 295 4/26/2015
4.1.6-beta1 255 4/22/2015
4.1.5-beta1 311 4/10/2015
4.1.4-beta1 378 3/27/2015
4.1.3-beta2 239 3/24/2015
4.1.2-beta1 228 3/23/2015
4.1.1-beta1 394 3/2/2015
4.1.0-beta1 (current version) 385 2/12/2015
4.0.3-beta1 393 1/27/2015
4.0.2-beta1 305 1/23/2015
4.0.1-beta1 264 1/23/2015
4.0.0-beta2 531 1/6/2015
4.0.0-beta1 345 1/1/2015
3.10.1-alpha001 119 9/2/2017
3.10.0 407,596 6/16/2017
3.9.3 364,916 11/13/2016
3.9.2 3,551 11/13/2016
3.9.1 38,884 10/28/2016
3.9.0 237,978 7/17/2016
3.8.2 262,134 4/15/2016
3.8.1 35,012 4/3/2016
3.8.0 779 4/3/2016
3.7.7 172,888 1/20/2016
3.7.6 54,094 12/22/2015
3.7.5 15,753 12/14/2015
3.7.5-beta2 195 12/2/2015
3.7.5-beta1 211 12/2/2015
3.7.4 44,013 11/21/2015
3.7.3 104,683 10/6/2015
3.7.2 98,861 8/22/2015
3.7.1-alpha1 321 5/1/2015
3.7.0 194,344 5/1/2015
3.7.0-beta1 204 4/26/2015
3.6.6 13,946 4/22/2015
3.6.6-beta2 206 4/13/2015
3.6.6-beta1 198 4/13/2015
3.6.5 14,648 4/10/2015
3.6.5-beta1 201 4/10/2015
3.6.4 16,311 3/27/2015
3.6.3 9,886 3/24/2015
3.6.3-beta2 214 3/24/2015
3.6.3-beta1 203 3/24/2015
3.6.2 1,905 3/23/2015
3.6.1 51,859 2/23/2015
3.6.0 25,474 2/12/2015
3.5.3 31,715 1/27/2015
3.5.2 2,445 1/23/2015
3.5.1 1,302 1/23/2015
3.5.0 19,290 1/14/2015
3.5.0-beta3 281 1/6/2015
3.5.0-beta2 283 1/1/2015
3.5.0-beta1 257 1/1/2015
3.4.2 60,214 11/28/2014
3.4.1 431,405 1/17/2014
3.4.0 44,307 10/20/2013
3.3.0 223,513 7/13/2013
3.2.0 165,505 1/17/2013
3.1.0 14,556 1/12/2013
3.0.8 77,863 1/31/2012
3.0.7 5,023 1/3/2012
3.0.6 390 1/2/2012
3.0.5 1,260 12/12/2011
3.0.4 404 12/12/2011
3.0.3 1,541 11/27/2011
3.0.0 3,149 11/24/2011
2.1.0 40,318 1/22/2011
Show less