ASP.NET MVC在IIS 5下工作吗?

时间:2021-05-18 03:35:02

I have to use XP as my development machine so far. But VS 2008's development server does not seem to work, very strange! (VS 2005's working well). Could I use IIS 5.1 to run ASP.NET MVC?

到目前为止,我必须使用XP作为我的开发机器。但VS 2008的开发服务器似乎不起作用,非常奇怪! (VS 2005的运作良好)。我可以使用IIS 5.1来运行ASP.NET MVC吗?

Thanks!

4 个解决方案

#1


You can. Check out this post for details about how: http://blogs.microsoft.co.il/blogs/dorony/archive/2007/12/15/using-asp-net-mvc-on-iis-5.aspx

您可以。查看这篇文章了解详细信息:http://blogs.microsoft.co.il/blogs/dorony/archive/2007/12/15/using-asp-net-mvc-on-iis-5.aspx

#2


Yes you can use IIS on XP to run MVC.

是的,您可以在XP上使用IIS来运行MVC。

#3


Yes I got mine to work. Change the url extensions to .aspx in the routing.

是的,我让我的工作。将URL扩展名更改为路由中的.aspx。

#4


Url rewriting can help you to solve the problem. I've implemented solution allowing to deploy MVC application at any IIS version even when virtual hosting is used. http://www.codeproject.com/KB/aspnet/iis-aspnet-url-rewriting.aspx

Url重写可以帮助您解决问题。我已经实现了允许在任何IIS版本上部署MVC应用程序的解决方案,即使使用虚拟主机也是如此。 http://www.codeproject.com/KB/aspnet/iis-aspnet-url-rewriting.aspx

#1


You can. Check out this post for details about how: http://blogs.microsoft.co.il/blogs/dorony/archive/2007/12/15/using-asp-net-mvc-on-iis-5.aspx

您可以。查看这篇文章了解详细信息:http://blogs.microsoft.co.il/blogs/dorony/archive/2007/12/15/using-asp-net-mvc-on-iis-5.aspx

#2


Yes you can use IIS on XP to run MVC.

是的,您可以在XP上使用IIS来运行MVC。

#3


Yes I got mine to work. Change the url extensions to .aspx in the routing.

是的,我让我的工作。将URL扩展名更改为路由中的.aspx。

#4


Url rewriting can help you to solve the problem. I've implemented solution allowing to deploy MVC application at any IIS version even when virtual hosting is used. http://www.codeproject.com/KB/aspnet/iis-aspnet-url-rewriting.aspx

Url重写可以帮助您解决问题。我已经实现了允许在任何IIS版本上部署MVC应用程序的解决方案,即使使用虚拟主机也是如此。 http://www.codeproject.com/KB/aspnet/iis-aspnet-url-rewriting.aspx