Adding MVC project to existing Web application project
I have an MVC project and a separate Web Application project. How can I link the two together. Currently, when I try to open a page in the MVC project from the main project I get a 404 error. They have different Project urls, is this why? How can I synchronize them?
Re: Adding MVC project to existing Web application project
You can mix and match MVC and Web Forms but they were never intended to be used in that fashion so it's not trivial. I would recommend either reimplementing one using the other technology or else run one as a sub-site of the other under IIS.
Re: Adding MVC project to existing Web application project
Do you know any good links that can help me to do this? I don't want to start again as it's for an assignment and I won't have time to implement everything in MVC.
Re: Adding MVC project to existing Web application project
1. You can actually use MVC's routing to redirect from one project to another but this method could be problematic if you have many link types to work with.
2. You can just merge 2 projects into 1 and eliminate this headache.