本文介绍了ASP MVC服务器的要求 - 是Server 2008的非常理想的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在几个地方的MVC需要全面支持Windows Server 2008的读取。可同样的是Vista旗舰版开发机上实现,或者将有些东西丢失?

I read in a few places that MVC requires Windows Server 2008 for full support. Can the same be achieved on a Vista Ultimate dev machine or will some things be missing?

如果您与MVC的工作,让你有麻烦找相对便宜的托管服务的Windows Server 2008?虽然托管是不是一个大问题为我的权利(我知道我会找到一些)为需要一个开发机2008服务器。

If you have worked with MVC, have you had trouble finding relatively inexpensive hosting for Windows Server 2008? Though hosting is not as big a concern for me right (I know I will find some) as needing a dev machine with 2008 Server.

推荐答案

ASP.NET MVC使用Server 2008中发挥很好,但这不是必需的。不使用的主要症结服务器2008(IIS 7),你将需​​要某种形式的URL重写,否则服务器2003(IIS 6)不知道你是试图执行一个asp.net应用程序。

ASP.NET MVC plays nicely with Server 2008, but this is not required. The main crux to not using Server 2008 (IIS 7) is that you will need some form of url rewriter, otherwise Server 2003 (IIS 6) will not know that you are trying to execute an asp.net app.

你可以做的是使用mod_rewrite的与IIS 6,你是好去。

What you can do is use the mod_rewrite isapirewrite with IIS 6 and you are good to go.

史蒂夫·桑德森写了一篇好文章的,详细说明如何实现多种选择,与国防部重写作为干净的解决方案。

Steve Sanderson wrote a good article here that details how to implement several options, with mod-rewrite being the 'cleanest' solution.

这篇关于ASP MVC服务器的要求 - 是Server 2008的非常理想的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 17:34