在 Classic .NET AppPool 下运行的 ASP.Net Web 表单中的 URL 路由
有谁知道是否可以在经典 .NET AppPool 下运行的 ASP.Net Webforms 网站中进行 URL 路由。
我在这里尝试了一些方法,但当我从经典应用程序池切换到默认应用程序池时它才起作用。
** 该网站必须在经典应用程序池下运行。
谢谢!
Does anybody knows if it is possible to make URL routing in a ASP.Net webforms website that is running under the Classic .NET AppPool.
I've tried a few things here, but it just works when I switch from Classic AppPool to Default AppPool.
** the web site MUST run under Classic AppPool.
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
无论应用程序池运行在经典还是集成管道模式下,IIS 7.5 URL Rewrite 2 模块都能够进行 URL Rewriting / URL Rewriting。
(为了满足您的好奇心:刚刚测试过)
The IIS 7.5 URL Rewrite 2 Module is capable of URL Rewriting / URL Rewriting regardless whether the application pool runs under the classic or integrated pipeline mode.
(For your curiosity: just tested it)
尝试使用 .net 3.5 路由。这是很棒的示例
https://web.archive .org/web/20201205221404/https://www.4guysfromrolla.com/articles/051309-1.aspx
Try to use .net 3.5 routing .This is great sample
https://web.archive.org/web/20201205221404/https://www.4guysfromrolla.com/articles/051309-1.aspx