does anyone have good links or tips on best practices concerning migrating from ASP.NET Webforms to ASP.NET MVC?
We have a large webforms application that we would like to piece by piece migrate to MVC. Here is our current setup.
Two big Webforms project (VB) Multiple class libraries and services (C# and VB.Net) Subsonic 2.2 Data access layer SQL Server 2008 DB
We are considering the following:
- Keep the classic webforms project running as is for now while developing.
- Create new MVC project based on MVC 3 with Razor view engine
- Use Nhibernate (Repository pattern) DAL
- Convert/build the existing functionality module by module in the MVC project
- Replace some functionality in the old webforms project with new MVC modules if possible. Integrate via eg. Iframes.
- In time the new MVC app will replace the old webforms project entirely.
We would like to keep the DB as is so we also need a tool to create the Model based on the DB.
Is this a possible solution?