How to Integrate ASP.Net Webforms website with an

2019-06-20 05:02发布

How would I run both of them under one main website, say www.example.com, which is written and deployed using a Visual Studio ASP.Net MVC web application project, and where an ASP.Net Web Forms website, would run from a subdirectory of the main site, say www.example.com/myapp?

1条回答
ゆ 、 Hurt°
2楼-- · 2019-06-20 05:50

See Hanselman's blog post. The basic idea is that you add a regular WebForm to your MVC project, then tell the routing engine to ignore that path when doing MVC routing.

查看更多
登录 后发表回答