简体   繁体   English

IIS是Web服务器还是应用程序服务器?

[英]Is IIS a web server or an application server?

Is IIS a web server or an application server? IIS是Web服务器还是应用程序服务器?

Or is it both? 还是两者兼而有之?

What is the difference between (or similarity between) Web and Application servers in .Net? .Net中的Web和应用程序服务器之间的区别(或相似之处)有什么区别?

Thanks! 谢谢!

Update: On further investigation, concluded the following: It all depends on the protocol used for 'serving' 更新:在进一步调查中,得出以下结论:这一切都取决于用于“服务”的协议

Web server: Only HTTP, and App server: any, including HTTP. Web服务器:仅HTTP和App服务器:任何,包括HTTP。

Not sure if IIS has other protocols that deviate much from HTTP, (and if it doesnt,) maybe in a stricter sense, is only a Web Server ! 不确定IIS是否有其他协议偏离了HTTP,(如果它没有),可能在更严格的意义上, 只是一个Web服务器 ( http://technet.microsoft.com/en-us/library/cc268242.aspx ) http://technet.microsoft.com/en-us/library/cc268242.aspx

Application servers, by definition, should be able to serve (any) 'application'; 根据定义,应用程序服务器应该能够提供(任何)“应用程序”; not just browsers. 不只是浏览器。 (web services being a problematic area in this context) (在这种情况下,Web服务是一个有问题的领域)

Correct the above if wrong... thanks again. 纠正上面的错误......再次感谢。

IIS 6.0 is basically a web server, with an extension, aspnet_isapi.dll, which handles the ASP.NET functionality. IIS 6.0基本上是一个Web服务器,带有扩展名aspnet_isapi.dll,用于处理ASP.NET功能。 in IIS 7.0 and above, the .NET handling has been integrated into the webserver itself, and IIS might be considered an application server, hosting .NET applications (ASP.NET). 在IIS 7.0及更高版本中,.NET处理已集成到Web服务器本身,IIS可能被视为托管.NET应用程序(ASP.NET)的应用程序服务器。

If you are looking for something similar to a Java Bean container in .NET, there is really no such concept. 如果您正在寻找类似于.NET中的Java Bean容器的东西,那么实际上没有这样的概念。 You can use Windows Services, or you can use Windows Azure worker roles, they resemble "app servers" as JBoss, etc. 您可以使用Windows服务,也可以使用Windows Azure辅助角色,它们类似于JBoss等“app servers”。

Are there any more specific questions? 还有更具体的问题吗? It's really difficult to elaborate more without going too far off your original question. 如果不偏离原始问题,就很难详细说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM