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
<PackageReference Include="RazorEngine" Version="4.1.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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.

NuGet packages (168)

Showing the top 5 NuGet packages that depend on RazorEngine:

Package Downloads
Postal.Mvc5
Generate emails using ASP.NET MVC views
GSF.Web
Library of ASP.NET web forms extensions, embedded resource hosting and HTTP Module for implementing role-based security.
eXpandJobSchedulerJobs
JobScheduler Jobs Module / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.
eXpandEmail
Email Module / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.
fluent-email
A Fluent Wrapper for System.Net.Mail with razor templating support.

GitHub repositories (22)

Showing the top 5 popular GitHub repositories that depend on RazorEngine:

Repository Stars
donet5/SqlSugar
Best ORM Fastest ORM Simple Easy Sqlite orm Oracle ORM Mysql Orm postgresql ORm SqlServer oRm 达梦 人大金仓
commandlineparser/commandline
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
NuGet/NuGetGallery
NuGet Gallery is a package repository that powers https://www.nuget.org
ariacom/Seal-Report
Open Database Reporting Tool (.Net)
andrewdavey/postal
Email sending for asp.net mvc using the view engine system to render emails.

Version History

Version Downloads Last updated
4.5.1-alpha001 50,491 9/2/2017
4.5.0-rc1 27,928 6/16/2017
4.4.3-rc1 40,142 11/13/2016
4.4.2-rc1 1,086 11/13/2016
4.4.1-rc1 2,709 10/28/2016
4.4.0-rc1 47,384 7/17/2016
4.3.2-beta1 5,810 4/15/2016
4.3.1-beta1 1,444 4/3/2016
4.3.0-beta1 960 4/3/2016
4.2.7-beta1 27,657 1/20/2016
4.2.6-beta1 2,538 12/22/2015
4.2.5-beta1 1,777 12/14/2015
4.2.4-beta1 1,294 11/21/2015
4.2.3-beta1 3,052 10/6/2015
4.2.2-beta1 6,631 8/22/2015
4.2.1-beta1 1,010 8/22/2015
4.2.0-beta3 1,116 8/21/2015
4.2.0-beta2 2,373 5/1/2015
4.2.0-beta1 1,068 4/26/2015
4.1.6-beta1 995 4/22/2015
4.1.5-beta1 1,007 4/10/2015
4.1.4-beta1 1,123 3/27/2015
4.1.3-beta2 940 3/24/2015
4.1.2-beta1 955 3/23/2015
4.1.1-beta1 1,145 3/2/2015
4.1.0-beta1 1,078 2/12/2015
4.0.3-beta1 1,129 1/27/2015
4.0.2-beta1 1,281 1/23/2015
4.0.1-beta1 1,080 1/23/2015
4.0.0-beta2 1,255 1/6/2015
4.0.0-beta1 1,223 1/1/2015
3.10.1-alpha001 17,980 9/2/2017
3.10.0 5,147,116 6/16/2017
3.9.3 1,141,627 11/13/2016
3.9.2 18,806 11/13/2016
3.9.1 107,273 10/28/2016
3.9.0 1,023,614 7/17/2016
3.8.2 591,499 4/15/2016
3.8.1 69,174 4/3/2016
3.8.0 3,303 4/3/2016
3.7.7 441,176 1/20/2016
3.7.6 108,449 12/22/2015
3.7.5 26,925 12/14/2015
3.7.5-beta2 840 12/2/2015
3.7.5-beta1 875 12/2/2015
3.7.4 134,447 11/21/2015
3.7.3 227,348 10/6/2015
3.7.2 212,557 8/22/2015
3.7.1-alpha1 1,012 5/1/2015
3.7.0 407,876 5/1/2015
3.7.0-beta1 864 4/26/2015
3.6.6 30,346 4/22/2015
3.6.6-beta2 851 4/13/2015
3.6.6-beta1 832 4/13/2015
3.6.5 20,558 4/10/2015
3.6.5-beta1 859 4/10/2015
3.6.4 33,586 3/27/2015
3.6.3 13,685 3/24/2015
3.6.3-beta2 906 3/24/2015
3.6.3-beta1 892 3/24/2015
3.6.2 3,715 3/23/2015
3.6.1 117,325 2/23/2015
3.6.0 58,198 2/12/2015
3.5.3 65,769 1/27/2015
3.5.2 3,310 1/23/2015
3.5.1 2,305 1/23/2015
3.5.0 34,733 1/14/2015
3.5.0-beta3 954 1/6/2015
3.5.0-beta2 985 1/1/2015
3.5.0-beta1 1,015 1/1/2015
3.4.2 141,500 11/28/2014
3.4.1 1,061,289 1/17/2014
3.4.0 87,335 10/20/2013
3.3.0 586,309 7/13/2013
3.2.0 380,738 1/17/2013
3.1.0 28,802 1/12/2013
3.0.8 116,298 1/31/2012
3.0.7 6,108 1/3/2012
3.0.6 1,196 1/2/2012
3.0.5 2,247 12/12/2011
3.0.4 1,222 12/12/2011
3.0.3 2,799 11/27/2011
3.0.0 5,354 11/24/2011
2.1.0 63,640 1/22/2011
Show less