IIS 6上的ASP.NET路由 [英] ASP.NET routing on IIS 6

查看:104
本文介绍了IIS 6上的ASP.NET路由的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据迈克·奥蒙德(Mike Ormond)的示例,我使用 ASP.NET 路由创建了一个基本站点使用独立于MVC的ASP.NET路由".在运行内置Web服务器的本地计算机上,此方法可以正常工作.

I have created a basic site using ASP.NET routing according to Mike Ormond's example "Using ASP.NET routing Independent of MVC". This works fine on my local machine running the built-in web server.

但是,当我将其部署到服务器上时( Windows Server 2003 IIS 6,ASP.NET 3.5 SP1),它仅显示404错误.

However, when I deploy it to my server (Windows Server 2003, IIS 6, ASP.NET 3.5 SP1) it just shows a 404 error.

我已经读过我打算设置通配符路由的地方.我该怎么办?

I have read somewhere that I am meant to set up wildcard routing. How can I do this?

要使其在我的服务器上正常工作,还需要进行哪些其他配置更改?

What other configuration changes needs to be done to make it work on my server?

推荐答案

您将在Steve Sanderson的博客文章"

You will find some good information on Steve Sanderson’s blog post "Deploying ASP.NET MVC to IIS 6."

这篇关于IIS 6上的ASP.NET路由的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆