views:

90

answers:

1

Hi

I have an MVC site that I would like to allow the owners to edit the content of the views in the style Adobe Contribute allows for traditional WebForms sites. Obviously due to the nature of routing in MVC, the URLs do not map to physical files on disk so this becomes a problem for a tool like contribute. Are there any other tools out there that handle this situation or is there a solution for MVC, maybe some form of URL rewrite....

Thanks

+1  A: 

In theory you could provide your users a way to edit the view, and store the results in a database for consumption by the ASP.NET MVC view engine. Phil Haack has given this some thought and written a blog post on it here:

http://haacked.com/archive/2009/04/22/scripted-db-views.aspx

He also suggests some ways that might ease the editing process using IronRuby, although I haven't explored those.

Robert Harvey