How to Render content include razor syntax in asp.net mvc 3 -
in database there record include razor syntax "hello @model.name, wellcome ..." when record view how can render model property ?
thanks,
there many ways.
- pulling view database rather file
- http://razorengine.codeplex.com
- http://ibashir.blogspot.com/2010/11/razor-parser-without-mvc.html
- http://blog.andrewnurse.net/2010/07/22/usingtherazorparseroutsideofaspnet.aspx
i'm biased towards razorengine codeplex it's been used in mini-profiler developers of site.
Comments
Post a Comment