一直需要IIS服务器吗? [英] always need IIS server ?

查看:89
本文介绍了一直需要IIS服务器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否总是需要IIS服务器才能在ASP.NET 2.0中开发Web应用程序?

Do i always need IIS server to develop a web application in ASP.NET 2.0 ?

推荐答案

在ASP.NET 2中处于开发模式时不需要IIS使用VS 2005 coz,它具有自己的ASP.NET开发服务器. ASP.NET创建自己的端口(只要可用,端口号的范围就从1到65535随机!).
您也可以在开发过程中将Web应用程序保存在PC上的任何位置,并且仍然可以进行调试.
发布站点时,您需要将其部署在IIS 6 Web服务器上,该服务器可免费下载.发布时,您需要保存Web应用程序@ \ inetpub \ wwwroot文件夹.
但是对于ASP.NET 1.1,1.0,您肯定需要IIS.

实际上,您也可以在Apache上运行ASP.NET,请查看此链接


http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx
IIS is not required when in development mode in ASP.NET 2 using VS 2005 coz it has its own ASP.NET Development Server. ASP.NET creates a port of its own (the port number ranges from 1 to 65535 randomly, as long as its available!).
You may also save a web application anywhere on your PC while development, and still debugging would be possible.
When publishing the site, you would need to deploy it on an IIS 6 Web Server, which is available as a download for free. While publishing, you would need to save the web application @ \inetpub\wwwroot folder.
But for ASP.NET 1.1,1.0, you would surely require IIS.

As a matter of fact, you may also run ASP.NET on Apache, check out this link


http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx


这篇关于一直需要IIS服务器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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