Razor View for Orchard

Topics: Writing modules
May 4, 2011 at 1:50 PM

I just create a project named Razor4Orchard (http://razor4orchard.codeplex.com/), that is a module that use the RazorEngine (http://razorengine.codeplex.com) to display razor view in orchard.

Hope it is useful to someone!

May 4, 2011 at 2:02 PM


How does this differ from Orchard's built-in Razor support?

May 4, 2011 at 2:20 PM

@randompete, apparently it adds a custom Field, and a Part.

Maybe you could add a Body Flavor instead of the Part, as it could then plug into the current Body part. An example is the TinyMCE editor.

May 4, 2011 at 2:29 PM


It's a great idea! maybe I can thing about it sometime.

May 5, 2011 at 2:09 PM

Some new features have been added in version 1.2


1. add Razor filter for BodyPart.
2. add TinyMce support for Razor Editor.
3. add Conent information for Razor Part.