background preloader

Nunit

Facebook Twitter

Compile your asp.net mvc Razor views into a seperate dll. NOTE: THE GENERATOR HAS EVOLVED SINCE THIS POST.Although the post is still worth reading, please go to for the most up to date version.

Compile your asp.net mvc Razor views into a seperate dll

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. Gallio - Automation Platform for .NET. ISerializable - Roy Osherove's Blog : Introduci...