Razor View for Orchard

Topics: Writing modules
May 4, 2011 at 2: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 3:02 PM

Hi,

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

Coordinator
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

@sebastienros

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

http://orchardproject.net/gallery/server/Package/Download/Orchard.Module.RaisingStudio.Razor/1.2

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