Question

I'm evaluating a migration from a classic ASP 3.0 application to ASP.NET MVC. I've already migrated applications to WebForms, but have decided to try MVC for this migration for a number of reasons, including the fact the code in this application is NOT spaghetti and seems to lend itself to an MVC style layout.

One major constraint on this migration is that it has to be gradual with minimal (or preferably no) downtime, and it should be possible to continue development while the migration is in progress. This means that the classic ASP code has to run side-by-side with the ASP.NET MVC code, probably even in the same IIS application.

So, I have a couple of related questions:

  1. What's the best way to prevent rerouting from affecting classic .asp files? (Ignore them, HttpHandler, special reroute rules?)
  2. Are there any special non-obvious issues that people have encountered in similar scenarios/migrations?
  3. Are the authentication, session and general code re-use issues that generally crop up in regular ASP to WebForms migrations any different when working with ASP.NET MVC?

Thanks in advance!

Was it helpful?

Solution

Only have the answer to 1

routes.IgnoreRoute("{resource}.asp/{*pathInfo}");

Did I get a cookie?

OTHER TIPS

MVC uses .net so file extensions are .aspx. You shouldn't have any trouble at all.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top