[英]ASP.NET Core Web Application integrate TcpSockets
I have 2 Blazor WA apps and 2 ASP.NET Core Web Application servers which communicate via SignalR (one Blazor WA talks to one ASP.NET Core Web Application server, and another Blazor WA talks to it's ASP.NET Core Web Application servers).我有 2 个 Blazor WA 应用程序和 2 个通过 SignalR 通信的 ASP.NET Core Web 应用程序服务器(一个 Blazor WA 与一个 ASP.NET Core Web 应用程序服务器通信,另一个 Blazor WA 与它的 ASP.NET Core Web 应用程序服务器通信)。
I need both servers to communicate using sockets so I can share/notify when a changed happened to a server.我需要两台服务器使用套接字进行通信,以便我可以在服务器发生更改时共享/通知。
The only thing I could find is implementation of sockets using console app.我唯一能找到的是使用控制台应用程序实现套接字。 But in that case I could not see any up-to-date example of console app and SignalR solution.
但在那种情况下,我看不到控制台应用程序和 SignalR 解决方案的任何最新示例。
Good morning mate.早上好,伙计。
I understand what you want to do, you can use a 3rd application that can be the rabbitmq, messaging system.我明白你想做什么,你可以使用第三个应用程序,它可以是rabbitmq,消息系统。
Take a look at rabbitmq and forget about the socket.看看rabbitmq,忘记套接字。
Note: the communication I speak is backend -> backend;注意:我讲的通信是后端->后端;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.