10
Shouts

Embedding pre-compiled Razor views in your dll | Chris van de Steeg

published 906 days, 18 hours, 14 minutes ago posted by http://www.chrisvandesteeg.nl/http://www.chrisvandesteeg.nl/ 915 days, 14 hours, 18 minutes ago
Wednesday, December 01, 2010 5:37:54 PM GMT Monday, November 22, 2010 9:33:45 PM GMT

Inspired by David Ebbo’s blog post ‘Turn your Razor helpers into reusable libraries’ I wanted to be able to embed compiled Razor views in a dll. This would allow for easy distribution of asp.net mvc ‘modules’ that have their default views embedded, but allowing you to place files in your ‘views’ folder to override those default views

category: Web Dev | clicked: 5 | | source: goo.gl | show counter code
tags: MVC 3, Razor, ASP.NET