IMPORTANT RazorEngine v2 is a complete rewrite of the templating framework. Because of this, there are
no guarantees that code written around v1.2 will run without modification. The v2 framework is cleaner and refined. Please check the forthcoming codeplex site updates which will detail the new functionality.
Features in v2:
- ASP.NET Medium Trust Support
- Custom Template Activation with Dependency Injection Support
- Subtemplating using the new @Include method.
Known issues:
- @Include does not currently support passing of additional models. This will be delivered in v2.1 which is in development.