Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using SignalR with Azure Service Fabric

Is it possible to use signalR with Service Fabric provided by Microsoft? I'm trying to connect an UWP app and an angularJS app to my stateless reliable service hosted in an Azure Cluster through signalR/websocket connection. But both are not able to open such a connection. On my local machine everything works fine.

Is there anything special to consider of using signalR/websockets with Service Fabric? Is there any example?

like image 720
CPA Avatar asked Feb 08 '16 07:02

CPA


1 Answers

You need to configure the load balancer to the client ip. Then the user will always get to the same node and other users to other nodes. The user to node relationship will be persistent.

like image 110
Kevin Daniel Setiono Avatar answered Sep 30 '22 04:09

Kevin Daniel Setiono