开发者

Gradually migrating Classic ASP 3.0 to ASP.NET MVC

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 r开发者_Go百科e-use issues that generally crop up in regular ASP to WebForms migrations any different when working with ASP.NET MVC?

Thanks in advance!


Only have the answer to 1

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

Did I get a cookie?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜