I'm looking to roll some new functionality into an existing web forms website hosted in IIS, and was thinking of using MVC. I know you can do this in a fairly straight forward manner if you are just enabling MVC inside an existing web forms project. However, I would like to be able to separate the old code from the new by putting it in a new project. The old project is a bit of a mess and not organized well, so the further I can get from it the better.
However, I don't believe this is possible (or more correctly, is a bad idea in my case), for the following reasons:
My main question is this - am I missing some obvious way to make them play nicely together as one cohesive unit, or am I right in assuming that if I spin it out to a separate web application project then they are essentially two different apps? If not, is there some other way I can bind the two together to appear, more or less, as one without actually combining the projects?
In general, it sounds like you are going to spend a lot of time and a lot of headaches.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.