在 Classic .NET AppPool 下运行的 ASP.Net Web 表单中的 URL 路由

发布于 2024-10-09 18:40:28 字数 158 浏览 0 评论 0原文

有谁知道是否可以在经典 .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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

榕城若虚 2024-10-16 18:40:28

无论应用程序池运行在经典还是集成管道模式下,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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文