I have new requirements for a ASP.Net MVC system that is up and running but unfortunetly it is not well designed (e.g. database is accessed directly from controllers and from within the views sometimes).
So i proposed a new domain-driven architecture to the system and we will start migrating from the old system to the new architecture by modules and functions.
But i am facing a problem, i need to share the different layouts between the two systems, any ideas on how to do this?
Generally,any best practices for scenarios like this?
Thanks in advance.