I have an existing ASP.NET web application that I am converting to MVC 1.0. The site began with one goal. However, over time, our sponsors ask for more functionality, and it is obvious that MVC will become our best route due to new requirements. Over the past couple of months I have been working in MVC and am well versed in this. The problem I am facing right now is that the meat of our existing web application makes extensive use of a third-party tool that only works in ASP.NET WebForms.
The solution I'm working on is to have two web applications on the server. One application will be our existing WebForms application and will be used solely to uncover the above-mentioned functions of third-party tools. Another application will be our main portal, which will act as a new site. When a user wants to interact with a third-party tool, I want to be able to load the iFrame into the appropriate views that connect the user to another application, and then allow them to interact with the WebForms website. Does that sound crazy?
Problem number 1, which I am facing now, is how to configure my solution so that the MVC application speaks with the WebForms application. Each time I run the solution, a different port number is assigned for these two applications, and I cannot figure out how to properly configure the iRrame "src" properties. Of course, I cannot add a WebForms application to my links to MVC applications, so I'm at a dead end!
Any help would be greatly appreciated ...
source
share