Wednesday 6 February 2013

RazorEngine is a great way to parse and render ASP.NET Razor views

I've been trying the RazorEngine on TeamMentor to parse Razor CSHTML files, and I'm very happy with it so far.

Basically, RazorEngine is what Microsoft should had created in the first place: a simple way to parse and render CS-powered Html Razor views.See the examples at http://razorengine.codeplex.com . As comparison, take a look at What a 'salad of DLLs' are the ASP.NET MVC 4.0 template projects

RazorEngine was created by Matthew Abbott from FidelityDesign  who seems to be as crazy as I am. For example, see his A Tale of Epic Epicness… post :)

If only I could get Matthew to take a look at the OWASP O2 Platform and its C# REPL environment, I'm sure he would love it :)