ASP.NET MVC 3, how to do themes right

Viewed 10318

I'm looking for input on how to do "themes" in MVC 3 in the best way. I guess a custom view engine is needed to take care of locating the view files etc.

I also would like the theme system to be extensible, so that if it's only one of the views I would like to change the others still use the default. Kind of like the Orchard project does?

A imagine a folder structure like ~/Themes/Default/Views etc.

I have found a few MVC 1.0 and 2.0 examples, but nothing that fits my needs exactly. I need something that takes advantage of all the ASP.NET MVC 3.0 features and goodies of the Razor view engine :)

Any input and ideas will really be appreciated

-- Christian

1 Answers
Related