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 4,782 9/2/2017
4.5.0-rc1 3,632 6/16/2017
4.4.3-rc1 22,159 11/13/2016
4.4.2-rc1 300 11/13/2016
4.4.1-rc1 430 10/28/2016
4.4.0-rc1 6,570 7/17/2016
4.3.2-beta1 2,846 4/15/2016
4.3.1-beta1 505 4/3/2016
4.3.0-beta1 204 4/3/2016
4.2.7-beta1 10,453 1/20/2016
4.2.6-beta1 746 12/22/2015
4.2.5-beta1 506 12/14/2015
4.2.4-beta1 500 11/21/2015
4.2.3-beta1 2,215 10/6/2015
4.2.2-beta1 3,293 8/22/2015
4.2.1-beta1 253 8/22/2015
4.2.0-beta3 333 8/21/2015
4.2.0-beta2 1,553 5/1/2015
4.2.0-beta1 319 4/26/2015
4.1.6-beta1 278 4/22/2015
4.1.5-beta1 335 4/10/2015
4.1.4-beta1 401 3/27/2015
4.1.3-beta2 262 3/24/2015
4.1.2-beta1 252 3/23/2015
4.1.1-beta1 425 3/2/2015
4.1.0-beta1 411 2/12/2015
4.0.3-beta1 419 1/27/2015
4.0.2-beta1 374 1/23/2015
4.0.1-beta1 289 1/23/2015
4.0.0-beta2 564 1/6/2015
4.0.0-beta1 373 1/1/2015
3.10.1-alpha001 328 9/2/2017
3.10.0 698,165 6/16/2017
3.9.3 451,201 11/13/2016
3.9.2 4,651 11/13/2016
3.9.1 44,223 10/28/2016
3.9.0 307,237 7/17/2016
3.8.2 297,310 4/15/2016
3.8.1 38,961 4/3/2016
3.8.0 838 4/3/2016
3.7.7 194,437 1/20/2016
3.7.6 58,487 12/22/2015
3.7.5 17,070 12/14/2015
3.7.5-beta2 217 12/2/2015
3.7.5-beta1 233 12/2/2015
3.7.4 51,383 11/21/2015
3.7.3 118,060 10/6/2015
3.7.2 109,620 8/22/2015
3.7.1-alpha1 344 5/1/2015
3.7.0 226,187 5/1/2015
3.7.0-beta1 228 4/26/2015
3.6.6 14,879 4/22/2015
3.6.6-beta2 229 4/13/2015
3.6.6-beta1 221 4/13/2015
3.6.5 15,354 4/10/2015
3.6.5-beta1 224 4/10/2015
3.6.4 17,062 3/27/2015
3.6.3 10,807 3/24/2015
3.6.3-beta2 237 3/24/2015
3.6.3-beta1 230 3/24/2015
3.6.2 1,992 3/23/2015
3.6.1 56,807 2/23/2015
3.6.0 29,399 2/12/2015
3.5.3 34,664 1/27/2015
3.5.2 2,480 1/23/2015
3.5.1 1,344 1/23/2015
3.5.0 21,762 1/14/2015
3.5.0-beta3 305 1/6/2015
3.5.0-beta2 307 1/1/2015
3.5.0-beta1 282 1/1/2015
3.4.2 69,824 11/28/2014
3.4.1 489,636 1/17/2014
3.4.0 48,575 10/20/2013
3.3.0 247,971 7/13/2013
3.2.0 183,565 1/17/2013
3.1.0 15,556 1/12/2013
3.0.8 82,847 1/31/2012
3.0.7 5,122 1/3/2012
3.0.6 417 1/2/2012
3.0.5 1,294 12/12/2011
3.0.4 432 12/12/2011
3.0.3 1,587 11/27/2011
3.0.0 3,279 11/24/2011
2.1.0 42,585 1/22/2011
Show less