Does ASP.NET MVC require IIS? Could I develop an application that uses the new ASP.NET MVC framework on a client machine that does not have IIS installed?
ASP.NET MVC需要IIS吗?我可以开发一个在没有安装IIS的客户端计算机上使用新的ASP.NET MVC框架的应用程序吗?
4 个解决方案
#1
7
A browser is all that is required on the client machine.
浏览器就是客户端计算机上所需的全部内容。
IIS is not required on the developer machine according to the download page.
根据下载页面,开发人员计算机上不需要IIS。
Visual Web Developer 2008 Express, or the regular editions of Visual Studio will include the Cassini web server for development.
Visual Web Developer 2008 Express或Visual Studio的常规版本将包含用于开发的Cassini Web服务器。
#2
9
From what i've read on the Mono site Site Link you can also run an asp.net MVC site under Mono using the Apache webserver as well.
从我在Mono站点链接上阅读的内容中,您还可以使用Apache Web服务器在Mono下运行asp.net MVC站点。
#3
2
I think what you're asking is if you were to develop an ASP.NET MVC application would you need IIS on your local dev machine to run it?
我想您要问的是,如果您要开发ASP.NET MVC应用程序,您是否需要在本地开发机器上运行IIS?
The answer is, no you don't.
答案是,不,你没有。
In short ASP.NET MVC can technically be run by any web server that can allow the website itself to handle the requests instead of the web server handling them.
简而言之,ASP.NET MVC在技术上可以由任何Web服务器运行,该服务器可以允许网站本身处理请求而不是处理它们的Web服务器。
#4
0
You need IIS to get ASP.NET to work (MVC or WebForms). From what I know, it is ideal to have IIS 7 for MVC, but it is possible with IIS 6.
您需要IIS才能使ASP.NET工作(MVC或WebForms)。据我所知,拥有IIS 7 for MVC是理想的,但IIS 6也是可行的。
Developing a MVC application without IIS is possible, with the built-in web server integrated with VS 2008 (as been already mentioned), but for deployment, that is when you need IIS.
使用与VS 2008集成的内置Web服务器(如前所述),开发不带IIS的MVC应用程序是可能的,但是对于部署,就是当您需要IIS时。
#1
7
A browser is all that is required on the client machine.
浏览器就是客户端计算机上所需的全部内容。
IIS is not required on the developer machine according to the download page.
根据下载页面,开发人员计算机上不需要IIS。
Visual Web Developer 2008 Express, or the regular editions of Visual Studio will include the Cassini web server for development.
Visual Web Developer 2008 Express或Visual Studio的常规版本将包含用于开发的Cassini Web服务器。
#2
9
From what i've read on the Mono site Site Link you can also run an asp.net MVC site under Mono using the Apache webserver as well.
从我在Mono站点链接上阅读的内容中,您还可以使用Apache Web服务器在Mono下运行asp.net MVC站点。
#3
2
I think what you're asking is if you were to develop an ASP.NET MVC application would you need IIS on your local dev machine to run it?
我想您要问的是,如果您要开发ASP.NET MVC应用程序,您是否需要在本地开发机器上运行IIS?
The answer is, no you don't.
答案是,不,你没有。
In short ASP.NET MVC can technically be run by any web server that can allow the website itself to handle the requests instead of the web server handling them.
简而言之,ASP.NET MVC在技术上可以由任何Web服务器运行,该服务器可以允许网站本身处理请求而不是处理它们的Web服务器。
#4
0
You need IIS to get ASP.NET to work (MVC or WebForms). From what I know, it is ideal to have IIS 7 for MVC, but it is possible with IIS 6.
您需要IIS才能使ASP.NET工作(MVC或WebForms)。据我所知,拥有IIS 7 for MVC是理想的,但IIS 6也是可行的。
Developing a MVC application without IIS is possible, with the built-in web server integrated with VS 2008 (as been already mentioned), but for deployment, that is when you need IIS.
使用与VS 2008集成的内置Web服务器(如前所述),开发不带IIS的MVC应用程序是可能的,但是对于部署,就是当您需要IIS时。