Femzy
Femzy

Reputation: 49

Calling an ASP.NET webform page from ASP.NET MVC application within the same Project Solution

I have 2 projects within the same Visual Studio Solution.
One is an ASP.NET MVC Project and the other is an ASP.NET Web Application (Webforms).

I want to call the ASP.NET Web Application from the MVC instead of having to re-write the whole web application in MVC.

Upvotes: 1

Views: 1601

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038720

You could use an anchor:

<a href="http://address_of_the_application_that_you_dont_want_to_rewrite">
    Go to the WebForms application
</a>

or an iframe:

<iframe src="http://address_of_the_application_that_you_dont_want_to_rewrite" />

Upvotes: 2

Related Questions