[英]Communication between two ASP.NET Core projects in the same solution
I have two ASP.Net core projects in the same solution. 我在同一解决方案中有两个ASP.Net核心项目。 Both of these will be deployed on the same server at different ports (since they serve different applications).
两者都将部署在同一服务器上的不同端口上(因为它们为不同的应用程序提供服务)。 What's the best way for these two API projects to communicate with each other?
这两个API项目相互通信的最佳方式是什么? For example, if an API is called on one of the projects and it wants to notify the other project, what's the best (fast and secure) option to do so?
例如,如果在一个项目上调用了API,并且它想通知另一个项目,那么最好的方法(快速,安全)是什么?
I usually use 2 types of communications. 我通常使用两种类型的通信。
Balazs 巴拉兹
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.