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).
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.
None
0 Points
1 Post
ASP.NET Core Web Application integrate TcpSockets
Nov 10, 2020 01:28 PM|Kernus|LINK
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).
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.
Repository
All-Star
52241 Points
23304 Posts
Re: ASP.NET Core Web Application integrate TcpSockets
Nov 10, 2020 03:14 PM|mgebhard|LINK
Perhaps hosted services.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services?view=aspnetcore-3.1&tabs=visual-studio