MVC3 Razor View Engine: How do I add a viewing file extension other than (cshtml)?

advertisements

I want to add file extension to razor view engine other than cshtml. Any clue you guys?


Since you are looking at your own view type here, use the virtual path provider. http://rebuildall.umbraworks.net/2009/11/17/ASP_NET_MVC_and_virtual_views