This project is read-only.

Razor View for Orchard

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

I just create a project named Razor4Orchard (, that is a module that use the RazorEngine ( to display razor view in orchard.

Hope it is useful to someone!

May 4, 2011 at 3:02 PM


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

May 4, 2011 at 3: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 3:29 PM


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

May 5, 2011 at 3: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.