[英]How to configure Web server(IIS) and App Server(.Net) in two different physically separated machine
Image of N-tier Architecture i need to achive我需要实现的 N 层架构的图像
I would like to know what are the server configuration for the web server and app server if both of them located in two different Machine?如果 Web 服务器和应用程序服务器都位于两台不同的机器上,我想知道它们的服务器配置是什么?
Client Request is to Changing the current server architecture from客户端请求是将当前服务器架构从
client <---> (Web Server/App Server) <---> Database客户端 <---> (Web Server/App Server) <---> 数据库
TO到
client <---> Web Server(IIS) <---> App Server(.net) <---> Database客户端 <---> Web 服务器(IIS) <---> 应用服务器(.net) <---> 数据库
In this scenario, the Web server (which contains the presentation layer logic) is physically separated from the application server that implements the business logic.在这种情况下,Web 服务器(包含表示层逻辑)与实现业务逻辑的应用程序服务器在物理上是分开的。
Why i need to achieve this because of following reasons:为什么我需要实现这一目标,原因如下:
Security requirements dictate that business logic cannot be deployed to the perimeter network.安全要求规定不能将业务逻辑部署到外围网络。
Application code that makes heavy use of resources on the server, and want to offload that functionality to another server.大量使用服务器上的资源并希望将该功能卸载到另一台服务器的应用程序代码。
Any possible links or resources for guidance would be very helpful.任何可能的链接或指导资源都会非常有帮助。
I have searched the web for two days regarding this i have gone through all the theory part of it but none i found regarding to the server configuration.我已经在网上搜索了两天关于这个我已经浏览了它的所有理论部分,但我没有找到关于服务器配置的内容。
As Lex says the IIS is both the web server and app server for .NET Framework apps.正如 Lex 所说,IIS 既是 .NET Framework 应用程序的 Web 服务器又是应用程序服务器。 We could understand clearly about what you want to ask for us.
我们可以清楚地了解您向我们提出的要求。
Do you mean you want to use IIS to redirect the request to another server which is used the self-host asp.net application?您的意思是要使用 IIS 将请求重定向到另一台使用自托管 asp.net 应用程序的服务器吗?
If this is your requirement, I suggest you could consider using ARR reverse proxy to achieve your requirement.如果这是您的要求,我建议您可以考虑使用 ARR 反向代理来实现您的要求。 Details, you could refer to this article .
详情可以参考这篇文章。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.