【发布时间】:2012-07-14 08:43:32
【问题描述】:
我在同一个 Visual Studio 解决方案中有 2 个项目。
一个是 ASP.NET MVC 项目,另一个是 ASP.NET Web 应用程序(Webforms)。
我想从 MVC 调用 ASP.NET Web 应用程序,而不必在 MVC 中重新编写整个 Web 应用程序。
【问题讨论】:
标签: asp.net-mvc
我在同一个 Visual Studio 解决方案中有 2 个项目。
一个是 ASP.NET MVC 项目,另一个是 ASP.NET Web 应用程序(Webforms)。
我想从 MVC 调用 ASP.NET Web 应用程序,而不必在 MVC 中重新编写整个 Web 应用程序。
【问题讨论】:
标签: asp.net-mvc
你可以使用锚:
<a href="http://address_of_the_application_that_you_dont_want_to_rewrite">
Go to the WebForms application
</a>
或 iframe:
<iframe src="http://address_of_the_application_that_you_dont_want_to_rewrite" />
【讨论】: