Please keep in mind that this is new for me and I might have missed something important.
I have an existing website, based on an ASP.NET web application. I am now using ASP.NET MVC for new development, and intend to gradually replace the bulk of the pages with MVC based pages.
I have two issues here:
1) I need to replace the pages gradually, because I cannot convert everything at once. 2) Existing URLs (of physical files) should be preserved if possible.
The way I see it, I have the following options:
1) Create a brand new MVC web application in the root of the web site, and then include existing HTML/ASPX/ASMX/... pages to that. This way, the routes are always relative to the root of the web site.
2) Modify the existing Global.asax, Web.config, Default.aspx (and so on) to switch the MVC handler on for routing, and then publish my MVC application to a subfolder.
What is the easiest way to do that, and am I missing something?
Thanks, Laurent