简体   繁体   English

如何在两台物理分离的不同机器上配置 Web 服务器(IIS)和应用服务器(.Net)

[英]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.

相关问题 使用IIS7和Delphi.NET调试.NET应用程序-使用aspnet_regiis.exe配置本地IIS Web服务器 - Debug .NET app with IIS7 and Delphi.NET - Use aspnet_regiis.exe to configure the local IIS web server 在个人服务器上配置IIS 6 Web应用程序 - Configure IIS 6 web application on a personal server .net IIS Web服务器localhost - .net IIS web server localhost DNS服务器在IIS上运行ASP.NET Web应用程序的必要性是什么? - How necessary is DNS Server to run an ASP.NET web app on IIS? 如何保护IIS Web服务器 - How to secure IIS Web Server 如何将ASP.NET MVC 5 Angular 4应用程序部署到IIS服务器中? - How to deploy ASP.NET MVC 5 Angular 4 app into IIS server? Internet服务器计算机上的.Net Web服务超时 - .Net Web Service Timeout at Internet Server Machine 如何配置IIS或Web服务器以允许其读取和写入文件? - How do I configure IIS or the web server to allow it to read and write files? IIS:尝试在计算机上配置IIS以与包含文件一起使用时,出现500服务器错误 - IIS: Getting a 500 Server Error when trying to configure IIS on machine to work with include files 如何为ASP.NET Core应用程序配置IIS身份验证以使用SQL Server - How to configure IIS authentication for ASP.NET Core application to use SQL Server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM