使用SignalR天青与服务布料 [英] Using SignalR with Azure Service Fabric

查看:194
本文介绍了使用SignalR天青与服务布料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使用signalR与微软提供的服务面料?我想一个UWP应用程序和应用程序angularJS连接到通过signalR / WebSocket连接在Azure中托管集群无国籍我可靠的服务。但两者都不能打开这样的连接。在我的本地机器一切正常。

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.

时有什么特别考虑使用signalR /的WebSockets与服务面料?是否有任何的例子吗?

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

推荐答案

您需要配置负载均衡到客户端的IP。然后,用户将总是到达相同的节点和其它用户到其他节点。用户节点的关系将是持久的。

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.

这篇关于使用SignalR天青与服务布料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆