【问题标题】:How to Integrate ASP.Net Webforms website with an ASP.Net MVC web application?如何将 ASP.Net Webforms 网站与 ASP.Net MVC Web 应用程序集成?
【发布时间】:2010-10-05 21:56:10
【问题描述】:

我将如何在一个主要网站下运行它们,比如 www.example.com,它是使用 Visual Studio ASP.Net MVC Web 应用程序项目编写和部署的,而 ASP.Net Web Forms 网站将在哪里从主站点的子目录运行,例如 www.example.com/myapp?

【问题讨论】:

    标签: asp.net asp.net-mvc web-applications web integration


    【解决方案1】:

    请参阅 Hanselman 的 blog post。基本思想是,您将常规 WebForm 添加到 MVC 项目中,然后告诉路由引擎在执行 MVC 路由时忽略该路径。

    【讨论】:

      猜你喜欢
      • 2014-06-04
      • 1970-01-01
      • 2015-03-29
      • 2023-03-19
      • 2011-04-03
      • 1970-01-01
      • 2010-12-05
      • 2010-09-21
      • 1970-01-01
      相关资源
      最近更新 更多