Hi,
I need to communicate with other systems in network which can send me data through Websocket. I supose SignalR implemented in Asp Zero backend is good for that ?
I am looking at your documentation but can't see any implementation how to receive message which is send to Websocket from outside. Looking at the documentation https://aspnetboilerplate.com/Pages/Documents/SignalR-AspNetCore-Integration#connection-establishment can't find it.
I created new Hub, and created a route. I can connect to the WS://localhost ... but how can I get the message ? As you can see in the image it is connected to the Hub. But how can I retrieve that message in backend ?
So my goal is to be able to get simple message through websocket and work with it. Currently I need it without user authentication.
2 Answer(s)
-
0
Anyone ?
-
0
Hi @miroslav.engi
If you set this https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/appsettings.json#L17 setting to "true", there shouldn't be authentication. So the successfull connection proves that I guess.
What is the external app you will built ? is it also a ASP.NET Core website ?