co-exist classic ASP with ASP.MVChttp://forums.asp.net/t/1723313.aspx/1?co+exist+classic+ASP+with+ASP+MVCThu, 05 Apr 2012 22:36:22 -040017233134609164http://forums.asp.net/p/1723313/4609164.aspx/1?co+exist+classic+ASP+with+ASP+MVCco-exist classic ASP with ASP.MVC <p>Can ASP.MVC project be added to a solution that is all classic ASP web pages? Can calls from the classic ASP pages be routed to the ASP.MVC project? Can results be passed to and from the classic ASP pages and ASP.MVC?</p> <p>Looking for&nbsp;links to sample code, white papers or people who have done it successfully.</p> 2011-09-22T15:38:26-04:004609186http://forums.asp.net/p/1723313/4609186.aspx/1?Re+co+exist+classic+ASP+with+ASP+MVCRe: co-exist classic ASP with ASP.MVC <p>Hi,</p> <p>maybe this is what you are looking for - <a href="http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx"> http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx</a></p> 2011-09-22T15:55:28-04:004609276http://forums.asp.net/p/1723313/4609276.aspx/1?Re+co+exist+classic+ASP+with+ASP+MVCRe: co-exist classic ASP with ASP.MVC <p>No webforms at all. I have a 20 yr old web application in classic asp with monsterous amount of vbscript &amp; javascript and no organization at all. I have to add a new feature which is written in ASP.MVC to this ancient application. There is a default.asp main page which drives every request. How do I make a call from default.asp to the Controller in ASP.MVC project? Later when I close the view, how do I again render the default.asp page? Hope the question is more clear...</p> <p>Thanks</p> 2011-09-22T16:54:51-04:004896449http://forums.asp.net/p/1723313/4896449.aspx/1?Re+co+exist+classic+ASP+with+ASP+MVCRe: co-exist classic ASP with ASP.MVC <p>Did you ever find and example or solution to this?&nbsp; I'm also in a similar predicament and am looking for examples of integrating an asp.net part into a predominately asp classic web application.</p> 2012-03-23T23:34:44-04:004910708http://forums.asp.net/p/1723313/4910708.aspx/1?Re+co+exist+classic+ASP+with+ASP+MVCRe: co-exist classic ASP with ASP.MVC <p>No solution yet :(</p> 2012-04-01T23:17:55-04:004918734http://forums.asp.net/p/1723313/4918734.aspx/1?Re+co+exist+classic+ASP+with+ASP+MVCRe: co-exist classic ASP with ASP.MVC <p>I've maintained a website that had mvc, webforms and classic asp. First of all you can't have all 3 in the root of the site, that's just not going to work. So assuming you have the classic asp site in root, you can place the mvc site in a virtual directory.</p> <p>Just have the classic asp default.asp page perform a request.redirect to the controller, if you need to pass parameters to it do it via the querystring. Sessions variables will not work.</p> <p>Another option is to simply include the mvc view in a classic asp page as an iframe. So the default.asp page redirects users to , let's say, menu.asp . inside menu.asp is an iframe that points to an mvc controller/action method on the same box.</p> <p>Also. Classic asp is only 14 years old, not 20&nbsp;<img src="http://forums.asp.net/scripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif" alt="Laughing" title="Laughing" border="0" class="emoticon"></p> 2012-04-05T22:36:22-04:00