RazorEngine v2.1

Rating:        Based on 6 ratings
Reviewed:  5 reviews
Downloads: 17204
Change Set: 6690
Released: Jan 22, 2011
Updated: Jan 22, 2011 by AntarisZX
Dev status: Stable Help Icon

Recommended Download

Application RazorEngine v2.1 Core
application, 86K, uploaded Jan 22, 2011 - 13221 downloads

Other Available Downloads

Application RazorEngine v2.1 Web (For Medium Trust)
application, 5K, uploaded Jan 22, 2011 - 1346 downloads
Application RazorEngine v2.1 Source
application, 374K, uploaded Jan 22, 2011 - 2637 downloads

Release Notes

Added:
  • Support for DynamicObject and ExpandoObject for models.

Changes:
  • Changed how the Microsoft.CSharp assembly is referenced in dynamically compiled assemblies by added a stub reference type.

Fixes:
  • Corrected reference to TemplateWriter when expressing inline-helpers in templates.
  • Re-added missing RequireNamespacesAttribute for declaring required namespace imports for custom templates.

Reviews for this release

     
Razor is awesome. I used to have a hard to maintain HTML and token replacement system for generating documents. Razor is so much better, and after getting passed a few hic-ups, I now have a robust, maintainable and highly customisable document generation system.
by retroburst on Sep 1, 2011 at 12:30 AM
     
Works great. Simple straight forward and effective, everything a person can want in a library. Thanks! I did have a question though, would you happen to know if it's possible to use master pages, I tried but the Layout or LayoutPage properties don't seem to exist. Just curious.
by luisperezphd on Apr 4, 2012 at 4:25 PM
     
Works really nice (testing it in an desktop application to generate reports). One thing needs urgent attention: get decent error messages pointing to the origin of a bug in the template and NOT in the generated code (that is not even available). It just makes debugging hard (and i used it with some very complex foreach statement).
by wvd_vegt on Jul 30, 2011 at 4:30 PM
     
Very cool. I spent the past week looking at examples that either used classes that were removed from MVC3 RTM or were so convoluted that they were damn near illiterate. This works as advertised and appears to be very stable. Update:two months later, used about 40k times per day, no bugs. Best money I ever spent. =)
by techvette on Apr 26, 2011 at 4:59 AM
     
Fantastic framework, looks like it will be really useful and quick to set up for server-side templating
by Paul_Hadfield on Feb 5, 2011 at 10:55 AM