We have an existing, fully functional ASP.NET MVC 2 application. I am creating an MVC 3 application that should have the same appearance as the existing one. That is, it must use the same navigational ascx, ascx header and footer, etc. The existing ascx application fills itself based on what is in the model, so this is not βjustβ the user interface material that I want to use, it is the models and controller logic related to these controls.
Is there any good way to do this without significantly refactoring the original application? I heard about portable areas (http://lostechies.com/erichexter/2009/11/01/asp-net-mvc-portable-areas-via-mvccontrib/), but it seems that this will require significant refactoring on an existing application . I also looked at the Razor Single File Generator extension, which would allow us to compile the views into DLLs and share them, but this would require converting the existing application to MVC 3 and then to Razor views. (And I'm still not sure that after this it will be necessarily "easy.")
I don't notice anything obvious here? It just feels like there should be a good way to do this, but maybe the existing application just needs a major overhaul .: P
Thanks in advance!
source share